Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
erp5
Commits
d64e3004
Commit
d64e3004
authored
May 13, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop deprecated jQuery.browser code.
parent
b8ac45e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
bt5/erp5_jquery_plugin_bbq/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/bbq/bbq.js.xml
...tem/portal_skins/erp5_jquery/jquery/plugin/bbq/bbq.js.xml
+7
-4
bt5/erp5_jquery_plugin_bbq/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/bbq/bbq.min.js.xml
...portal_skins/erp5_jquery/jquery/plugin/bbq/bbq.min.js.xml
+7
-3
No files found.
bt5/erp5_jquery_plugin_bbq/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/bbq/bbq.js.xml
View file @
d64e3004
...
@@ -6,9 +6,13 @@
...
@@ -6,9 +6,13 @@
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<key>
<string>
_Cacheable__manager_id
</string>
</key>
<value>
<string>
http_cache
</string>
</value>
</item>
<item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts
54098924.89
</string>
</value>
<value>
<string>
ts
31508727.41
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
__name__
</string>
</key>
<key>
<string>
__name__
</string>
</key>
...
@@ -999,9 +1003,8 @@
...
@@ -999,9 +1003,8 @@
\n
\n
// IE6/7 specifically need some special love when it comes to back-button\n
// IE6/7 specifically need some special love when it comes to back-button\n
// support, so let\'s do a little browser sniffing..\n
// support, so let\'s do a little browser sniffing..\n
browser = $.browser,\n
mode = document.documentMode,\n
mode = document.documentMode,\n
is_old_ie =
browser.msie
&&
( mode === undefined || mode
< 8
),\n
is_old_ie =
(navigator.userAgent.match(/MSIE/i) !== null)
&&
( mode === undefined || mode
< 8
),\n
\n
\n
//
Does
the
browser
support
window.onhashchange?
Test
for
IE
version,
since\n
//
Does
the
browser
support
window.onhashchange?
Test
for
IE
version,
since\n
//
IE8
incorrectly
reports
this
when
in
"IE7"
or
"IE8
Compatibility
View"!\n
//
IE8
incorrectly
reports
this
when
in
"IE7"
or
"IE8
Compatibility
View"!\n
...
@@ -1170,7 +1173,7 @@
...
@@ -1170,7 +1173,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
size
</string>
</key>
<key>
<string>
size
</string>
</key>
<value>
<int>
432
49
</int>
</value>
<value>
<int>
432
57
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
bt5/erp5_jquery_plugin_bbq/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/bbq/bbq.min.js.xml
View file @
d64e3004
...
@@ -6,9 +6,13 @@
...
@@ -6,9 +6,13 @@
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<key>
<string>
_Cacheable__manager_id
</string>
</key>
<value>
<string>
http_cache
</string>
</value>
</item>
<item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts
55496478.62
</string>
</value>
<value>
<string>
ts
31508759.6
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
__name__
</string>
</key>
<key>
<string>
__name__
</string>
</key>
...
@@ -22,7 +26,7 @@
...
@@ -22,7 +26,7 @@
<key>
<string>
data
</string>
</key>
<key>
<string>
data
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<value>
<string
encoding=
"cdata"
>
<![CDATA[
(function($,window){\'$:nomunge\';var undefined,aps=Array.prototype.slice,decode=decodeURIComponent,jq_param=$.param,jq_param_fragment,jq_deparam,jq_deparam_fragment,jq_bbq=$.bbq=$.bbq||{},jq_bbq_pushState,jq_bbq_getState,jq_elemUrlAttr,jq_event_special=$.event.special,str_hashchange=\'hashchange\',str_querystring=\'querystring\',str_fragment=\'fragment\',str_elemUrlAttr=\'elemUrlAttr\',str_location=\'location\',str_href=\'href\',str_src=\'src\',re_trim_querystring=/^.*\\?|#.*$/g,re_trim_fragment=/^.*\\#/,re_no_escape,elemUrlAttr_cache={};function is_string(arg){return typeof arg===\'string\'};function curry(func){var args=aps.call(arguments,1);return function(){return func.apply(this,args.concat(aps.call(arguments)))}};function get_fragment(url){return url.replace(/^[^#]*#?(.*)$/,\'$1\')};function get_querystring(url){return url.replace(/(?:^[^?#]*\\?([^#]*).*$)?.*/,\'$1\')};function jq_param_sub(is_fragment,get_func,url,params,merge_mode){var result,qs,matches,url_params,hash;if(params!==undefined){matches=url.match(is_fragment?/^([^#]*)\\#?(.*)$/:/^([^#?]*)\\??([^#]*)(#?.*)/);hash=matches[3]||\'\';if(merge_mode===2&&is_string(params)){qs=params.replace(is_fragment?re_trim_fragment:re_trim_querystring,\'\')}else{url_params=jq_deparam(matches[2]);params=is_string(params)?jq_deparam[is_fragment?str_fragment:str_querystring](params):params;qs=merge_mode===2?params:merge_mode===1?$.extend({},params,url_params):$.extend({},url_params,params);qs=jq_param(qs);if(is_fragment){qs=qs.replace(re_no_escape,decode)}}result=matches[1]+(is_fragment?\'#\':qs||!matches[1]?\'?\':\'\')+qs+hash}else{result=get_func(url!==undefined?url:window[str_location][str_href])}return result};jq_param[str_querystring]=curry(jq_param_sub,0,get_querystring);jq_param[str_fragment]=jq_param_fragment=curry(jq_param_sub,1,get_fragment);jq_param_fragment.noEscape=function(chars){chars=chars||\'\';var arr=$.map(chars.split(\'\'),encodeURIComponent);re_no_escape=new RegExp(arr.join(\'|\'),\'g\')};jq_param_fragment.noEscape(\',/\');$.deparam=jq_deparam=function(params,coerce){var obj={},coerce_types={\'true\':!0,\'false\':!1,\'null\':null};$.each(params.replace(/\\+/g,\' \').split(\'&\'),function(j,v){var param=v.split(\'=\'),key=decode(param[0]),val,cur=obj,i=0,keys=key.split(\'][\'),keys_last=keys.length-1;if(/\\[/.test(keys[0])&&/\\]$/.test(keys[keys_last])){keys[keys_last]=keys[keys_last].replace(/\\]$/,\'\');keys=keys.shift().split(\'[\').concat(keys);keys_last=keys.length-1}else{keys_last=0}if(param.length===2){val=decode(param[1]);if(coerce){val=val&&!isNaN(val)?+val:val===\'undefined\'?undefined:coerce_types[val]!==undefined?coerce_types[val]:val}if(keys_last){for(;i<=keys_last;i++){key=keys[i]===\'\'?cur.length:keys[i];cur=cur[key]=i<keys_last?cur[key]||(keys[i+1]&&isNaN(keys[i+1])?{}:[]):val}}else{if($.isArray(obj[key])){obj[key].push(val)}else if(obj[key]!==undefined){obj[key]=[obj[key],val]}else{obj[key]=val}}}else if(key){obj[key]=coerce?undefined:\'\'}});return obj};function jq_deparam_sub(is_fragment,url_or_params,coerce){if(url_or_params===undefined||typeof url_or_params===\'boolean\'){coerce=url_or_params;url_or_params=jq_param[is_fragment?str_fragment:str_querystring]()}else{url_or_params=is_string(url_or_params)?url_or_params.replace(is_fragment?re_trim_fragment:re_trim_querystring,\'\'):url_or_params}return jq_deparam(url_or_params,coerce)};jq_deparam[str_querystring]=curry(jq_deparam_sub,0);jq_deparam[str_fragment]=jq_deparam_fragment=curry(jq_deparam_sub,1);$[str_elemUrlAttr]||($[str_elemUrlAttr]=function(obj){return $.extend(elemUrlAttr_cache,obj)})({a:str_href,base:str_href,iframe:str_src,img:str_src,input:str_src,form:\'action\',link:str_href,script:str_src});jq_elemUrlAttr=$[str_elemUrlAttr];function jq_fn_sub(mode,force_attr,params,merge_mode){if(!is_string(params)&&typeof params!==\'object\'){merge_mode=params;params=force_attr;force_attr=undefined}return this.each(function(){var that=$(this),attr=force_attr||jq_elemUrlAttr()[(this.nodeName||\'\').toLowerCase()]||\'\',url=attr&&that.attr(attr)||\'\';that.attr(attr,jq_param[mode](url,params,merge_mode))})};$.fn[str_querystring]=curry(jq_fn_sub,str_querystring);$.fn[str_fragment]=curry(jq_fn_sub,str_fragment);jq_bbq.pushState=jq_bbq_pushState=function(params,merge_mode){if(is_string(params)&&/^#/.test(params)&&merge_mode===undefined){merge_mode=2}var has_args=params!==undefined,url=jq_param_fragment(window[str_location][str_href],has_args?params:{},has_args?merge_mode:2);window[str_location][str_href]=url+(/#/.test(url)?\'\':\'#\')};jq_bbq.getState=jq_bbq_getState=function(key,coerce){return key===undefined||typeof key===\'boolean\'?jq_deparam_fragment(key):jq_deparam_fragment(coerce)[key]};jq_bbq.removeState=function(arr){var state={};if(arr!==undefined){state=jq_bbq_getState();$.each($.isArray(arr)?arr:arguments,function(i,v){delete state[v]})}jq_bbq_pushState(state,2)};jq_event_special[str_hashchange]=$.extend(jq_event_special[str_hashchange],{add:function(handleObj){var old_handler;function new_handler(e){var hash=e[str_fragment]=jq_param_fragment();e.getState=function(key,coerce){return key===undefined||typeof key===\'boolean\'?jq_deparam(hash,key):jq_deparam(hash,coerce)[key]};old_handler.apply(this,arguments)};if($.isFunction(handleObj)){old_handler=handleObj;return new_handler}else{old_handler=handleObj.handler;handleObj.handler=new_handler}}})})(jQuery,this);(function($,window,undefined){\'$:nomunge\';var fake_onhashchange,jq_event_special=$.event.special,str_location=\'location\',str_hashchange=\'hashchange\',str_href=\'href\',
browser=$.browser,mode=document.documentMode,is_old_ie=browser.msie
&&(mode===undefined||mode<8),supports_onhashchange=\'on\'+str_hashchange in window&&!is_old_ie;function get_fragment(url){url=url||window[str_location][str_href];return url.replace(/^[^#]*#?(.*)$/,\'$1\')};$[str_hashchange+\'Delay\']=100;jq_event_special[str_hashchange]=$.extend(jq_event_special[str_hashchange],{setup:function(){if(supports_onhashchange){return false}$(fake_onhashchange.start)},teardown:function(){if(supports_onhashchange){return false}$(fake_onhashchange.stop)}});fake_onhashchange=(function(){var self={},timeout_id,iframe,set_history,get_history;function init(){set_history=get_history=function(val){return val};if(is_old_ie){iframe=$(\'<iframe src="javascript:0"/>
\').hide().insertAfter(\'body\')[0].contentWindow;get_history=function(){return get_fragment(iframe.document[str_location][str_href])};set_history=function(hash,history_hash){if(hash!==history_hash){var doc=iframe.document;doc.open().close();doc[str_location].hash=\'#\'+hash}};set_history(get_fragment())}};self.start=function(){if(timeout_id){return}var last_hash=get_fragment();set_history||init();(function loopy(){var hash=get_fragment(),history_hash=get_history(last_hash);if(hash!==last_hash){set_history(last_hash=hash,history_hash);$(window).trigger(str_hashchange)}else if(history_hash!==last_hash){window[str_location][str_href]=window[str_location][str_href].replace(/#.*/,\'\')+\'#\'+history_hash}timeout_id=setTimeout(loopy,$[str_hashchange+\'Delay\'])})()};self.stop=function(){if(!iframe){timeout_id
&&clearTimeout(timeout_id);
timeout_id=0}};return self})()})(jQuery,this);\n
(function($,window){\'$:nomunge\';var undefined,aps=Array.prototype.slice,decode=decodeURIComponent,jq_param=$.param,jq_param_fragment,jq_deparam,jq_deparam_fragment,jq_bbq=$.bbq=$.bbq||{},jq_bbq_pushState,jq_bbq_getState,jq_elemUrlAttr,jq_event_special=$.event.special,str_hashchange=\'hashchange\',str_querystring=\'querystring\',str_fragment=\'fragment\',str_elemUrlAttr=\'elemUrlAttr\',str_location=\'location\',str_href=\'href\',str_src=\'src\',re_trim_querystring=/^.*\\?|#.*$/g,re_trim_fragment=/^.*\\#/,re_no_escape,elemUrlAttr_cache={};function is_string(arg){return typeof arg===\'string\'};function curry(func){var args=aps.call(arguments,1);return function(){return func.apply(this,args.concat(aps.call(arguments)))}};function get_fragment(url){return url.replace(/^[^#]*#?(.*)$/,\'$1\')};function get_querystring(url){return url.replace(/(?:^[^?#]*\\?([^#]*).*$)?.*/,\'$1\')};function jq_param_sub(is_fragment,get_func,url,params,merge_mode){var result,qs,matches,url_params,hash;if(params!==undefined){matches=url.match(is_fragment?/^([^#]*)\\#?(.*)$/:/^([^#?]*)\\??([^#]*)(#?.*)/);hash=matches[3]||\'\';if(merge_mode===2&&is_string(params)){qs=params.replace(is_fragment?re_trim_fragment:re_trim_querystring,\'\')}else{url_params=jq_deparam(matches[2]);params=is_string(params)?jq_deparam[is_fragment?str_fragment:str_querystring](params):params;qs=merge_mode===2?params:merge_mode===1?$.extend({},params,url_params):$.extend({},url_params,params);qs=jq_param(qs);if(is_fragment){qs=qs.replace(re_no_escape,decode)}}result=matches[1]+(is_fragment?\'#\':qs||!matches[1]?\'?\':\'\')+qs+hash}else{result=get_func(url!==undefined?url:window[str_location][str_href])}return result};jq_param[str_querystring]=curry(jq_param_sub,0,get_querystring);jq_param[str_fragment]=jq_param_fragment=curry(jq_param_sub,1,get_fragment);jq_param_fragment.noEscape=function(chars){chars=chars||\'\';var arr=$.map(chars.split(\'\'),encodeURIComponent);re_no_escape=new RegExp(arr.join(\'|\'),\'g\')};jq_param_fragment.noEscape(\',/\');$.deparam=jq_deparam=function(params,coerce){var obj={},coerce_types={\'true\':!0,\'false\':!1,\'null\':null};$.each(params.replace(/\\+/g,\' \').split(\'&\'),function(j,v){var param=v.split(\'=\'),key=decode(param[0]),val,cur=obj,i=0,keys=key.split(\'][\'),keys_last=keys.length-1;if(/\\[/.test(keys[0])&&/\\]$/.test(keys[keys_last])){keys[keys_last]=keys[keys_last].replace(/\\]$/,\'\');keys=keys.shift().split(\'[\').concat(keys);keys_last=keys.length-1}else{keys_last=0}if(param.length===2){val=decode(param[1]);if(coerce){val=val&&!isNaN(val)?+val:val===\'undefined\'?undefined:coerce_types[val]!==undefined?coerce_types[val]:val}if(keys_last){for(;i<=keys_last;i++){key=keys[i]===\'\'?cur.length:keys[i];cur=cur[key]=i<keys_last?cur[key]||(keys[i+1]&&isNaN(keys[i+1])?{}:[]):val}}else{if($.isArray(obj[key])){obj[key].push(val)}else if(obj[key]!==undefined){obj[key]=[obj[key],val]}else{obj[key]=val}}}else if(key){obj[key]=coerce?undefined:\'\'}});return obj};function jq_deparam_sub(is_fragment,url_or_params,coerce){if(url_or_params===undefined||typeof url_or_params===\'boolean\'){coerce=url_or_params;url_or_params=jq_param[is_fragment?str_fragment:str_querystring]()}else{url_or_params=is_string(url_or_params)?url_or_params.replace(is_fragment?re_trim_fragment:re_trim_querystring,\'\'):url_or_params}return jq_deparam(url_or_params,coerce)};jq_deparam[str_querystring]=curry(jq_deparam_sub,0);jq_deparam[str_fragment]=jq_deparam_fragment=curry(jq_deparam_sub,1);$[str_elemUrlAttr]||($[str_elemUrlAttr]=function(obj){return $.extend(elemUrlAttr_cache,obj)})({a:str_href,base:str_href,iframe:str_src,img:str_src,input:str_src,form:\'action\',link:str_href,script:str_src});jq_elemUrlAttr=$[str_elemUrlAttr];function jq_fn_sub(mode,force_attr,params,merge_mode){if(!is_string(params)&&typeof params!==\'object\'){merge_mode=params;params=force_attr;force_attr=undefined}return this.each(function(){var that=$(this),attr=force_attr||jq_elemUrlAttr()[(this.nodeName||\'\').toLowerCase()]||\'\',url=attr&&that.attr(attr)||\'\';that.attr(attr,jq_param[mode](url,params,merge_mode))})};$.fn[str_querystring]=curry(jq_fn_sub,str_querystring);$.fn[str_fragment]=curry(jq_fn_sub,str_fragment);jq_bbq.pushState=jq_bbq_pushState=function(params,merge_mode){if(is_string(params)&&/^#/.test(params)&&merge_mode===undefined){merge_mode=2}var has_args=params!==undefined,url=jq_param_fragment(window[str_location][str_href],has_args?params:{},has_args?merge_mode:2);window[str_location][str_href]=url+(/#/.test(url)?\'\':\'#\')};jq_bbq.getState=jq_bbq_getState=function(key,coerce){return key===undefined||typeof key===\'boolean\'?jq_deparam_fragment(key):jq_deparam_fragment(coerce)[key]};jq_bbq.removeState=function(arr){var state={};if(arr!==undefined){state=jq_bbq_getState();$.each($.isArray(arr)?arr:arguments,function(i,v){delete state[v]})}jq_bbq_pushState(state,2)};jq_event_special[str_hashchange]=$.extend(jq_event_special[str_hashchange],{add:function(handleObj){var old_handler;function new_handler(e){var hash=e[str_fragment]=jq_param_fragment();e.getState=function(key,coerce){return key===undefined||typeof key===\'boolean\'?jq_deparam(hash,key):jq_deparam(hash,coerce)[key]};old_handler.apply(this,arguments)};if($.isFunction(handleObj)){old_handler=handleObj;return new_handler}else{old_handler=handleObj.handler;handleObj.handler=new_handler}}})})(jQuery,this);(function($,window,undefined){\'$:nomunge\';var fake_onhashchange,jq_event_special=$.event.special,str_location=\'location\',str_hashchange=\'hashchange\',str_href=\'href\',
mode=document.documentMode,is_old_ie=(navigator.userAgent.match(/MSIE/i)!==null)
&&(mode===undefined||mode<8),supports_onhashchange=\'on\'+str_hashchange in window&&!is_old_ie;function get_fragment(url){url=url||window[str_location][str_href];return url.replace(/^[^#]*#?(.*)$/,\'$1\')};$[str_hashchange+\'Delay\']=100;jq_event_special[str_hashchange]=$.extend(jq_event_special[str_hashchange],{setup:function(){if(supports_onhashchange){return false}$(fake_onhashchange.start)},teardown:function(){if(supports_onhashchange){return false}$(fake_onhashchange.stop)}});fake_onhashchange=(function(){var self={},timeout_id,iframe,set_history,get_history;function init(){set_history=get_history=function(val){return val};if(is_old_ie){iframe=$(\'<iframe src="javascript:0"/>
\').hide().insertAfter(\'body\')[0].contentWindow;get_history=function(){return get_fragment(iframe.document[str_location][str_href])};set_history=function(hash,history_hash){if(hash!==history_hash){var doc=iframe.document;doc.open().close();doc[str_location].hash=\'#\'+hash}};set_history(get_fragment())}};self.start=function(){if(timeout_id){return}var last_hash=get_fragment();set_history||init();(function loopy(){var hash=get_fragment(),history_hash=get_history(last_hash);if(hash!==last_hash){set_history(last_hash=hash,history_hash);$(window).trigger(str_hashchange)}else if(history_hash!==last_hash){window[str_location][str_href]=window[str_location][str_href].replace(/#.*/,\'\')+\'#\'+history_hash}timeout_id=setTimeout(loopy,$[str_hashchange+\'Delay\'])})()};self.stop=function(){if(!iframe){timeout_id
&&clearTimeout(timeout_id);
timeout_id=0}};return self})()})(jQuery,this);\n
]]>
</string>
</value>
]]>
</string>
</value>
...
@@ -33,7 +37,7 @@
...
@@ -33,7 +37,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
size
</string>
</key>
<key>
<string>
size
</string>
</key>
<value>
<int>
71
00
</int>
</value>
<value>
<int>
71
13
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment