Update of /cvsroot/php-blog/additional_plugins/homepage/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16165/homepage/scripts
Modified Files:
master.js master.js.map
Log Message:
gitclone.sh autocommit
Index: master.js
===================================================================
RCS file: /cvsroot/php-blog/additional_plugins/homepage/scripts/master.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- master.js 26 Sep 2016 20:42:46 -0000 1.1
+++ master.js 17 Mar 2017 21:33:15 -0000 1.2
@@ -1,2 +1,2 @@
-!function(a,b,c){"use strict";var d=function(d,e){var f=!!b.getComputedStyle;f||(b.getComputedStyle=function(a){return this.el=a,this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;return"float"===b&&(b="styleFloat"),c.test(b)&&(b=b.replace(c,function(){return arguments[2].toUpperCase()})),a.currentStyle[b]?a.currentStyle[b]:null},this});var g,h,i,j,k,l,m=function(a,b,c,d){if("addEventListener"in a)try{a.addEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.addEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"attachEvent"in a&&("object"==typeof c&&c.handleEvent?a.attachEvent("on"+b,function(){c.handleEvent.call(c)}):a.attachEvent("on"+b,c))},n=function(a,b,c,d){if("removeEventListener"in a)try{a.removeEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.removeEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"detachEvent"in a&&("object"==typeof c&&c.handleEvent?a.detachEvent("on"+b,function(){c.handleEvent.call(c)}):a.detachEvent("on"+b,c))},o=function(a){if(a.children.length<1)throw new Error("The Nav container has no containing elements");for(var b=[],c=0;c<a.children.length;c++)1===a.children[c].nodeType&&b.push(a.children[c]);return b},p=function(a,b){for(var c in b)a.setAttribute(c,b[c])},q=function(a,b){0!==a.className.indexOf(b)&&(a.className+=" "+b,a.className=a.className.replace(/(^\s*)|(\s*$)/g,""))},r=function(a,b){var c=new RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ").replace(/(^\s*)|(\s*$)/g,"")},s=function(a,b,c){for(var d=0;d<a.length;d++)b.call(c,d,a[d])},t=a.createElement("style"),u=a.documentElement,v=function(b,c){var d;this.options={animate:!0,transition:284,label:"Menu",insert:"before",customToggle:"",closeOnNavClick:!1,openPos:"relative",navClass:"nav-collapse",navActiveClass:"js-nav-active",jsClass:"js",init:function(){},open:function(){},close:function(){}};for(d in c)this.options[d]=c[d];if(q(u,this.options.jsClass),this.wrapperEl=b.replace("#",""),a.getElementById(this.wrapperEl))this.wrapper=a.getElementById(this.wrapperEl);else{if(!a.querySelector(this.wrapperEl))throw new Error("The nav element you are trying to select doesn't exist");this.wrapper=a.querySelector(this.wrapperEl)}this.wrapper.inner=o(this.wrapper),h=this.options,g=this.wrapper,this._init(this)};return v.prototype={destroy:function(){this._removeStyles(),r(g,"closed"),r(g,"opened"),r(g,h.navClass),r(g,h.navClass+"-"+this.index),r(u,h.navActiveClass),g.removeAttribute("style"),g.removeAttribute("aria-hidden"),n(b,"resize",this,!1),n(b,"focus",this,!1),n(a.body,"touchmove",this,!1),n(i,"touchstart",this,!1),n(i,"touchend",this,!1),n(i,"mouseup",this,!1),n(i,"keyup",this,!1),n(i,"click",this,!1),h.customToggle?i.removeAttribute("aria-hidden"):i.parentNode.removeChild(i)},toggle:function(){j===!0&&(l?this.close():this.open())},open:function(){l||(r(g,"closed"),q(g,"opened"),q(u,h.navActiveClass),q(i,"active"),g.style.position=h.openPos,p(g,{"aria-hidden":"false"}),l=!0,h.open())},close:function(){l&&(q(g,"closed"),r(g,"opened"),r(u,h.navActiveClass),r(i,"active"),p(g,{"aria-hidden":"true"}),h.animate?(j=!1,setTimeout(function(){g.style.position="absolute",j=!0},h.transition+10)):g.style.position="absolute",l=!1,h.close())},resize:function(){"none"!==b.getComputedStyle(i,null).getPropertyValue("display")?(k=!0,p(i,{"aria-hidden":"false"}),g.className.match(/(^|\s)closed(\s|$)/)&&(p(g,{"aria-hidden":"true"}),g.style.position="absolute"),this._createStyles(),this._calcHeight()):(k=!1,p(i,{"aria-hidden":"true"}),p(g,{"aria-hidden":"false"}),g.style.position=h.openPos,this._removeStyles())},handleEvent:function(a){var c=a||b.event;switch(c.type){case"touchstart":this._onTouchStart(c);break;case"touchmove":this._onTouchMove(c);break;case"touchend":case"mouseup":this._onTouchEnd(c);break;case"click":this._preventDefault(c);break;case"keyup":this._onKeyUp(c);break;case"focus":case"resize":this.resize(c)}},_init:function(){this.index=c++,q(g,h.navClass),q(g,h.navClass+"-"+this.index),q(g,"closed"),j=!0,l=!1,this._closeOnNavClick(),this._createToggle(),this._transitions(),this.resize();var d=this;setTimeout(function(){d.resize()},20),m(b,"resize",this,!1),m(b,"focus",this,!1),m(a.body,"touchmove",this,!1),m(i,"touchstart",this,!1),m(i,"touchend",this,!1),m(i,"mouseup",this,!1),m(i,"keyup",this,!1),m(i,"click",this,!1),h.init()},_createStyles:function(){t.parentNode||(t.type="text/css",a.getElementsByTagName("head")[0].appendChild(t))},_removeStyles:function(){t.parentNode&&t.parentNode.removeChild(t)},_createToggle:function(){if(h.customToggle){var b=h.customToggle.replace("#","");if(a.getElementById(b))i=a.getElementById(b);else{if(!a.querySelector(b))throw new Error("The custom nav toggle you are trying to select doesn't exist");i=a.querySelector(b)}}else{var c=a.createElement("a");c.innerHTML=h.label,p(c,{href:"#",class:"nav-toggle"}),"after"===h.insert?g.parentNode.insertBefore(c,g.nextSibling):g.parentNode.insertBefore(c,g),i=c}},_closeOnNavClick:function(){if(h.closeOnNavClick){var a=g.getElementsByTagName("a"),b=this;s(a,function(c,d){m(a[c],"click",function(){k&&b.toggle()},!1)})}},_preventDefault:function(a){return a.preventDefault?(a.stopImmediatePropagation&&a.stopImmediatePropagation(),a.preventDefault(),a.stopPropagation(),!1):void(a.returnValue=!1)},_onTouchStart:function(a){Event.prototype.stopImmediatePropagation||this._preventDefault(a),this.startX=a.touches[0].clientX,this.startY=a.touches[0].clientY,this.touchHasMoved=!1,n(i,"mouseup",this,!1)},_onTouchMove:function(a){(Math.abs(a.touches[0].clientX-this.startX)>10||Math.abs(a.touches[0].clientY-this.startY)>10)&&(this.touchHasMoved=!0)},_onTouchEnd:function(a){if(this._preventDefault(a),k&&!this.touchHasMoved){if("touchend"===a.type)return void this.toggle();var c=a||b.event;3!==c.which&&2!==c.button&&this.toggle()}},_onKeyUp:function(a){var c=a||b.event;13===c.keyCode&&this.toggle()},_transitions:function(){if(h.animate){var a=g.style,b="max-height "+h.transition+"ms";a.WebkitTransition=a.MozTransition=a.OTransition=a.transition=b}},_calcHeight:function(){for(var a=0,b=0;b<g.inner.length;b++)a+=g.inner[b].offsetHeight;var c="."+h.jsClass+" ."+h.navClass+"-"+this.index+".opened{max-height:"+a+"px !important} ."+h.jsClass+" ."+h.navClass+"-"+this.index+".opened.dropdown-active {max-height:9999px !important}";t.styleSheet?t.styleSheet.cssText=c:t.innerHTML=c,c=""}},new v(d,e)};"undefined"!=typeof module&&module.exports?module.exports=d:b.responsiveNav=d}(document,window,0),$(function(){responsiveNav(".nav-collapse",{customToggle:"#open-nav",closeOnNavClick:!0});$("#to-top, #markdown-toc a").click(function(){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var a=$(this.hash);if(a=a.length&&a||$("[name="+this.hash.slice(1)+"]"),a.length){var b=a.offset().top;return $("html,body").animate({scrollTop:b},300),!1}}})});
+!function(a,b,c){"use strict";var d=function(d,e){!!b.getComputedStyle||(b.getComputedStyle=function(a){return this.el=a,this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;return"float"===b&&(b="styleFloat"),c.test(b)&&(b=b.replace(c,function(){return arguments[2].toUpperCase()})),a.currentStyle[b]?a.currentStyle[b]:null},this});var f,g,h,i,j,k,l=function(a,b,c,d){if("addEventListener"in a)try{a.addEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.addEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"attachEvent"in a&&("object"==typeof c&&c.handleEvent?a.attachEvent("on"+b,function(){c.handleEvent.call(c)}):a.attachEvent("on"+b,c))},m=function(a,b,c,d){if("removeEventListener"in a)try{a.removeEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.removeEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"detachEvent"in a&&("object"==typeof c&&c.handleEvent?a.detachEvent("on"+b,function(){c.handleEvent.call(c)}):a.detachEvent("on"+b,c))},n=function(a){if(a.children.length<1)throw new Error("The Nav container has no containing elements");for(var b=[],c=0;c<a.children.length;c++)1===a.children[c].nodeType&&b.push(a.children[c]);return b},o=function(a,b){for(var c in b)a.setAttribute(c,b[c])},p=function(a,b){0!==a.className.indexOf(b)&&(a.className+=" "+b,a.className=a.className.replace(/(^\s*)|(\s*$)/g,""))},q=function(a,b){var c=new RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ").replace(/(^\s*)|(\s*$)/g,"")},r=function(a,b,c){for(var d=0;d<a.length;d++)b.call(c,d,a[d])},s=a.createElement("style"),t=a.documentElement,u=function(b,c){var d;this.options={animate:!0,transition:284,label:"Menu",insert:"before",customToggle:"",closeOnNavClick:!1,openPos:"relative",navClass:"nav-collapse",navActiveClass:"js-nav-active",jsClass:"js",init:function(){},open:function(){},close:function(){}};for(d in c)this.options[d]=c[d];if(p(t,this.options.jsClass),this.wrapperEl=b.replace("#",""),a.getElementById(this.wrapperEl))this.wrapper=a.getElementById(this.wrapperEl);else{if(!a.querySelector(this.wrapperEl))throw new Error("The nav element you are trying to select doesn't exist");this.wrapper=a.querySelector(this.wrapperEl)}this.wrapper.inner=n(this.wrapper),g=this.options,f=this.wrapper,this._init(this)};return u.prototype={destroy:function(){this._removeStyles(),q(f,"closed"),q(f,"opened"),q(f,g.navClass),q(f,g.navClass+"-"+this.index),q(t,g.navActiveClass),f.removeAttribute("style"),f.removeAttribute("aria-hidden"),m(b,"resize",this,!1),m(b,"focus",this,!1),m(a.body,"touchmove",this,!1),m(h,"touchstart",this,!1),m(h,"touchend",this,!1),m(h,"mouseup",this,!1),m(h,"keyup",this,!1),m(h,"click",this,!1),g.customToggle?h.removeAttribute("aria-hidden"):h.parentNode.removeChild(h)},toggle:function(){i===!0&&(k?this.close():this.open())},open:function(){k||(q(f,"closed"),p(f,"opened"),p(t,g.navActiveClass),p(h,"active"),f.style.position=g.openPos,o(f,{"aria-hidden":"false"}),k=!0,g.open())},close:function(){k&&(p(f,"closed"),q(f,"opened"),q(t,g.navActiveClass),q(h,"active"),o(f,{"aria-hidden":"true"}),g.animate?(i=!1,setTimeout(function(){f.style.position="absolute",i=!0},g.transition+10)):f.style.position="absolute",k=!1,g.close())},resize:function(){"none"!==b.getComputedStyle(h,null).getPropertyValue("display")?(j=!0,o(h,{"aria-hidden":"false"}),f.className.match(/(^|\s)closed(\s|$)/)&&(o(f,{"aria-hidden":"true"}),f.style.position="absolute"),this._createStyles(),this._calcHeight()):(j=!1,o(h,{"aria-hidden":"true"}),o(f,{"aria-hidden":"false"}),f.style.position=g.openPos,this._removeStyles())},handleEvent:function(a){var c=a||b.event;switch(c.type){case"touchstart":this._onTouchStart(c);break;case"touchmove":this._onTouchMove(c);break;case"touchend":case"mouseup":this._onTouchEnd(c);break;case"click":this._preventDefault(c);break;case"keyup":this._onKeyUp(c);break;case"focus":case"resize":this.resize(c)}},_init:function(){this.index=c++,p(f,g.navClass),p(f,g.navClass+"-"+this.index),p(f,"closed"),i=!0,k=!1,this._closeOnNavClick(),this._createToggle(),this._transitions(),this.resize();var d=this;setTimeout(function(){d.resize()},20),l(b,"resize",this,!1),l(b,"focus",this,!1),l(a.body,"touchmove",this,!1),l(h,"touchstart",this,!1),l(h,"touchend",this,!1),l(h,"mouseup",this,!1),l(h,"keyup",this,!1),l(h,"click",this,!1),g.init()},_createStyles:function(){s.parentNode||(s.type="text/css",a.getElementsByTagName("head")[0].appendChild(s))},_removeStyles:function(){s.parentNode&&s.parentNode.removeChild(s)},_createToggle:function(){if(g.customToggle){var b=g.customToggle.replace("#","");if(a.getElementById(b))h=a.getElementById(b);else{if(!a.querySelector(b))throw new Error("The custom nav toggle you are trying to select doesn't exist");h=a.querySelector(b)}}else{var c=a.createElement("a");c.innerHTML=g.label,o(c,{href:"#",class:"nav-toggle"}),"after"===g.insert?f.parentNode.insertBefore(c,f.nextSibling):f.parentNode.insertBefore(c,f),h=c}},_closeOnNavClick:function(){if(g.closeOnNavClick){var a=f.getElementsByTagName("a"),b=this;r(a,function(c,d){l(a[c],"click",function(){j&&b.toggle()},!1)})}},_preventDefault:function(a){if(a.preventDefault)return a.stopImmediatePropagation&&a.stopImmediatePropagation(),a.preventDefault(),a.stopPropagation(),!1;a.returnValue=!1},_onTouchStart:function(a){Event.prototype.stopImmediatePropagation||this._preventDefault(a),this.startX=a.touches[0].clientX,this.startY=a.touches[0].clientY,this.touchHasMoved=!1,m(h,"mouseup",this,!1)},_onTouchMove:function(a){(Math.abs(a.touches[0].clientX-this.startX)>10||Math.abs(a.touches[0].clientY-this.startY)>10)&&(this.touchHasMoved=!0)},_onTouchEnd:function(a){if(this._preventDefault(a),j&&!this.touchHasMoved){if("touchend"===a.type)return void this.toggle();var c=a||b.event;3!==c.which&&2!==c.button&&this.toggle()}},_onKeyUp:function(a){13===(a||b.event).keyCode&&this.toggle()},_transitions:function(){if(g.animate){var a=f.style,b="max-height "+g.transition+"ms";a.WebkitTransition=a.MozTransition=a.OTransition=a.transition=b}},_calcHeight:function(){for(var a=0,b=0;b<f.inner.length;b++)a+=f.inner[b].offsetHeight;var c="."+g.jsClass+" ."+g.navClass+"-"+this.index+".opened{max-height:"+a+"px !important} ."+g.jsClass+" ."+g.navClass+"-"+this.index+".opened.dropdown-active {max-height:9999px !important}";s.styleSheet?s.styleSheet.cssText=c:s.innerHTML=c,c=""}},new u(d,e)};"undefined"!=typeof module&&module.exports?module.exports=d:b.responsiveNav=d}(document,window,0),$(function(){responsiveNav(".nav-collapse",{customToggle:"#open-nav",closeOnNavClick:!0});$("#to-top, #markdown-toc a").click(function(){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var a=$(this.hash);if(a=a.length&&a||$("[name="+this.hash.slice(1)+"]"),a.length){var b=a.offset().top;return $("html,body").animate({scrollTop:b},300),!1}}})});
//# sourceMappingURL=master.js.map
\ No newline at end of file
Index: master.js.map
===================================================================
RCS file: /cvsroot/php-blog/additional_plugins/homepage/scripts/master.js.map,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- master.js.map 13 Jan 2017 21:32:15 -0000 1.2
+++ master.js.map 17 Mar 2017 21:33:15 -0000 1.3
@@ -1 +1 @@
-{"version":3,"sources":["../../node_modules/responsive-nav/responsive-nav.js","main.js"],"names":["document","window","index","responsiveNav","el","options","computed","getComputedStyle","this","getPropertyValue","prop","re","test","replace","arguments","toUpperCase","currentStyle","nav","opts","navToggle","hasAnimFinished","isMobile","navOpen","addEvent","evt","fn","bubble","addEventListener","e","handleEvent","call","attachEvent","removeEvent","removeEventListener","detachEvent","getChildren","children","length","Error","i","nodeType","push","setAttributes","attrs","key","setAttribute","addClass","cls","className","indexOf","removeClass","reg","RegExp","forEach","array","callback","scope","styleElement","createElement","htmlEl","documentElement","ResponsiveNav","animate","transition","label","insert","customToggle","closeOnNavClick","openPos","navClass","navActiveClass","jsClass","init","open","close","wrapperEl","getElementById","wrapper","querySelector","inner","_init","prototype","destroy","_removeStyles","removeAttribute","body","parentNode","removeChild","toggle","style","position","aria-hidden","setTimeout","resize","match","_createStyles","_calcHeight","event","type","_onTouchStart","_onTouchMove","_onTouchEnd","_preventDefault","_onKeyUp","_closeOnNavClick","_createToggle","_transitions","self","getElementsByTagName","appendChild","toggleEl","innerHTML","href","class","insertBefore","nextSibling","links","preventDefault","stopImmediatePropagation","stopPropagation","returnValue","Event","startX","touches","clientX","startY","clientY","touchHasMoved","Math","abs","which","button","keyCode","objStyle","WebkitTransition","MozTransition","OTransition","savedHeight","offsetHeight","innerStyles","styleSheet","cssText","module","exports","$","click","location","pathname","hostname","$target","hash","slice","targetOffset","offset","top","scrollTop"],"mappings":"CASC,SAAUA,EAAUC,EAAQC,GAG3B,YAEA,IAAIC,GAAgB,SAAUC,EAAIC,GAEhC,GAAIC,KAAaL,EAAOM,gBAKnBD,KACHL,EAAOM,iBAAmB,SAASH,GAcjC,MAbAI,MAAKJ,GAAKA,EACVI,KAAKC,iBAAmB,SAASC,GAC/B,GAAIC,GAAK,iBAST,OARa,UAATD,IACFA,EAAO,cAELC,EAAGC,KAAKF,KACVA,EAAOA,EAAKG,QAAQF,EAAI,WACtB,MAAOG,WAAU,GAAGC,iBAGjBX,EAAGY,aAAaN,GAAQN,EAAGY,aAAaN,GAAQ,MAElDF,MAeX,IAkIIS,GACFC,EACAC,EAGAC,EACAC,EACAC,EAzIEC,EAAW,SAAUnB,EAAIoB,EAAKC,EAAIC,GAClC,GAAG,oBAAuBtB,GAExB,IACEA,EAAGuB,iBAAiBH,EAAKC,EAAIC,GAC7B,MAAOE,GACP,GAAkB,gBAAPH,KAAmBA,EAAGI,YAM/B,KAAMD,EALNxB,GAAGuB,iBAAiBH,EAAK,SAAUI,GAEjCH,EAAGI,YAAYC,KAAKL,EAAIG,IACvBF,OAKC,eAAkBtB,KAER,gBAAPqB,IAAmBA,EAAGI,YAC/BzB,EAAG2B,YAAW,KAAQP,EAAK,WAEzBC,EAAGI,YAAYC,KAAKL,KAGtBrB,EAAG2B,YAAW,KAAQP,EAAKC,KAajCO,EAAc,SAAU5B,EAAIoB,EAAKC,EAAIC,GACnC,GAAG,uBAA0BtB,GAC3B,IACEA,EAAG6B,oBAAoBT,EAAKC,EAAIC,GAChC,MAAOE,GACP,GAAkB,gBAAPH,KAAmBA,EAAGI,YAK/B,KAAMD,EAJNxB,GAAG6B,oBAAoBT,EAAK,SAAUI,GACpCH,EAAGI,YAAYC,KAAKL,EAAIG,IACvBF,OAKC,eAAkBtB,KACR,gBAAPqB,IAAm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ASC,iBACTD,EAASE,cACTF,EAASG,YACTH,EAAStE,WAAaA,IAQ1BiC,YAAa,WAEX,IAAK,GADDyC,GAAc,EACTlG,EAAI,EAAGA,EAAItB,EAAI8D,MAAM1C,OAAQE,IACpCkG,GAAexH,EAAI8D,MAAMxC,GAAGmG,YAG9B,IAAIC,GAAc,IAAMzH,EAAKqD,QAAU,KAAOrD,EAAKmD,SAAW,IAAM7D,KAAKN,MAAQ,sBAAwBuI,EAAc,mBAAqBvH,EAAKqD,QAAU,KAAOrD,EAAKmD,SAAW,IAAM7D,KAAKN,MAAQ,wDAEjMuD,GAAamF,WACfnF,EAAamF,WAAWC,QAAUF,EAElClF,EAAasD,UAAY4B,EAG3BA,EAAc,KAQX,GAAI9E,GAAczD,EAAIC,GAIT,oBAAXyI,SAA0BA,OAAOC,QAC1CD,OAAOC,QAAU5I,EAEjBF,EAAOE,cAAgBA,GAGzBH,SAAUC,OAAQ,GCtpBpB+I,EAAE,WAEY7I,cAAa,iBACnB+D,aAAc,YACdC,iBAAiB,GAIrB6E,GAAA,4BAA8BC,MAAM,WAChC,GAAIC,SAASC,SAAStI,QAAO,MAAA,MAAeL,KAAK2I,SAAStI,QAAO,MAAA,KAAcqI,SAASE,WAAa5I,KAAK4I,SAAU,CAChH,GAAIC,GAAUL,EAAExI,KAAK8I,KAErB,IADAD,EAAUA,EAAQhH,QAAUgH,GAAWL,EAAA,SAAaxI,KAAK8I,KAAKC,MAAM,GAAG,KACpEF,EAAShH,OAAQ,CAChB,GAAImH,GAAeH,EAAQI,SAASC,GAEpC,OADAV,GAAA,aAAelF,SAAS6F,UAAWH,GAAe,MAC3C","file":"master.js","sourcesContent":["/*! responsive-nav.js 1.0.39\n * https://github.com/viljamis/responsive-nav.js\n * http://responsive-nav.com\n *\n * Copyright (c) 2015 @viljamis\n * Available under the MIT license\n */\n\n/* global Event */\n(function (document, window, index) {\n // Index is used to keep multiple navs on the same page namespaced\n\n \"use strict\";\n\n var responsiveNav = function (el, options) {\n\n var computed = !!window.getComputedStyle;\n \n /**\n * getComputedStyle polyfill for old browsers\n */\n if (!computed) {\n window.getComputedStyle = function(el) {\n this.el = el;\n this.getPropertyValue = function(prop) {\n var re = /(\\-([a-z]){1})/g;\n if (prop === \"float\") {\n prop = \"styleFloat\";\n }\n if (re.test(prop)) {\n prop = prop.replace(re, function () {\n return arguments[2].toUpperCase();\n });\n }\n return el.currentStyle[prop] ? el.currentStyle[prop] : null;\n };\n return this;\n };\n }\n /* exported addEvent, removeEvent, getChildren, setAttributes, addClass, removeClass, forEach */\n \n /**\n * Add Event\n * fn arg can be an object or a function, thanks to handleEvent\n * read more at: http://www.thecssninja.com/javascript/handleevent\n *\n * @param {element} element\n * @param {event} event\n * @param {Function} fn\n * @param {boolean} bubbling\n */\n var addEvent = function (el, evt, fn, bubble) {\n if (\"addEventListener\" in el) {\n // BBOS6 doesn't support handleEvent, catch and polyfill\n try {\n el.addEventListener(evt, fn, bubble);\n } catch (e) {\n if (typeof fn === \"object\" && fn.handleEvent) {\n el.addEventListener(evt, function (e) {\n // Bind fn as this and set first arg as event object\n fn.handleEvent.call(fn, e);\n }, bubble);\n } else {\n throw e;\n }\n }\n } else if (\"attachEvent\" in el) {\n // check if the callback is an object and contains handleEvent\n if (typeof fn === \"object\" && fn.handleEvent) {\n el.attachEvent(\"on\" + evt, function () {\n // Bind fn as this\n fn.handleEvent.call(fn);\n });\n } else {\n el.attachEvent(\"on\" + evt, fn);\n }\n }\n },\n \n /**\n * Remove Event\n *\n * @param {element} element\n * @param {event} event\n * @param {Function} fn\n * @param {boolean} bubbling\n */\n removeEvent = function (el, evt, fn, bubble) {\n if (\"removeEventListener\" in el) {\n try {\n el.removeEventListener(evt, fn, bubble);\n } catch (e) {\n if (typeof fn === \"object\" && fn.handleEvent) {\n el.removeEventListener(evt, function (e) {\n fn.handleEvent.call(fn, e);\n }, bubble);\n } else {\n throw e;\n }\n }\n } else if (\"detachEvent\" in el) {\n if (typeof fn === \"object\" && fn.handleEvent) {\n el.detachEvent(\"on\" + evt, function () {\n fn.handleEvent.call(fn);\n });\n } else {\n el.detachEvent(\"on\" + evt, fn);\n }\n }\n },\n \n /**\n * Get the children of any element\n *\n * @param {element}\n * @return {array} Returns matching elements in an array\n */\n getChildren = function (e) {\n if (e.children.length < 1) {\n throw new Error(\"The Nav container has no containing elements\");\n }\n // Store all children in array\n var children = [];\n // Loop through children and store in array if child != TextNode\n for (var i = 0; i < e.children.length; i++) {\n if (e.children[i].nodeType === 1) {\n children.push(e.children[i]);\n }\n }\n return children;\n },\n \n /**\n * Sets multiple attributes at once\n *\n * @param {element} element\n * @param {attrs} attrs\n */\n setAttributes = function (el, attrs) {\n for (var key in attrs) {\n el.setAttribute(key, attrs[key]);\n }\n },\n \n /**\n * Adds a class to any element\n *\n * @param {element} element\n * @param {string} class\n */\n addClass = function (el, cls) {\n if (el.className.indexOf(cls) !== 0) {\n el.className += \" \" + cls;\n el.className = el.className.replace(/(^\\s*)|(\\s*$)/g,\"\");\n }\n },\n \n /**\n * Remove a class from any element\n *\n * @param {element} element\n * @param {string} class\n */\n removeClass = function (el, cls) {\n var reg = new RegExp(\"(\\\\s|^)\" + cls + \"(\\\\s|$)\");\n el.className = el.className.replace(reg, \" \").replace(/(^\\s*)|(\\s*$)/g,\"\");\n },\n \n /**\n * forEach method that passes back the stuff we need\n *\n * @param {array} array\n * @param {Function} callback\n * @param {scope} scope\n */\n forEach = function (array, callback, scope) {\n for (var i = 0; i < array.length; i++) {\n callback.call(scope, i, array[i]);\n }\n };\n\n var nav,\n opts,\n navToggle,\n styleElement = document.createElement(\"style\"),\n htmlEl = document.documentElement,\n hasAnimFinished,\n isMobile,\n navOpen;\n\n var ResponsiveNav = function (el, options) {\n var i;\n\n /**\n * Default options\n * @type {Object}\n */\n this.options = {\n animate: true, // Boolean: Use CSS3 transitions, true or false\n transition: 284, // Integer: Speed of the transition, in milliseconds\n label: \"Menu\", // String: Label for the navigation toggle\n insert: \"before\", // String: Insert the toggle before or after the navigation\n customToggle: \"\", // Selector: Specify the ID of a c...
[truncated message content] |