Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Version bump to 0.4.4

  • Loading branch information...
commit f8dd86a3225c54963a2a752fcb591f115d842029 1 parent 1822410
aj authored
View
4 README.md
@@ -3,7 +3,7 @@
skelJS is a lightweight frontend framework for building responsive sites and apps.
* Full documentation: http://skeljs.org/docs
-* Minified production versions (built w/Closure Compiler): http://skeljs.org
+* Minified production versions (built w/Closure Compiler): See [dist/](dist/)
* Responsive templates built w/skelJS: http://html5up.net
## License
@@ -35,4 +35,4 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* CSS Resets: Eric Meyer (http://meyerweb.com/eric/tools/css/reset/)
* normalize.css: Nicolas Gallagher + Jonathan Neal (http://necolas.github.io/normalize.css/)
-* DOMReady Method: Adapted from jQuery, courtesy: The jQuery Foundation, Diego Perini, Lucent M., Addy Osmani.
+* DOMReady Method: Adapted from jQuery, courtesy: The jQuery Foundation, Diego Perini, Lucent M., Addy Osmani.
View
236 dist/skel-noscript.css
@@ -0,0 +1,236 @@
+/* skelJS v0.4.4 | (c) n33 | skeljs.org | MIT licensed */
+
+/*
+
+ HEY YO. This file needs a bit of configuring before you can use it. See:
+
+ http://skeljs.org/docs#usage-noscript
+
+ for details. Thx.
+
+*/
+
+/* Resets (http://meyerweb.com/eric/tools/css/reset/ | v2.0 | 20110126 | License: none (public domain)) */
+/*
+ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none}
+*/
+
+/* Normalize (normalize.css v2.1.1 | MIT License | git.io/normalize) */
+/*
+ article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{background:#fff;color:#000;font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
+*/
+
+/* Box Model */
+/*
+ *, *:before, *:after {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -o-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+*/
+
+/* Container */
+
+ body {
+ /* min-width: (containers) */
+ min-width: 960px;
+ }
+
+ .container {
+ margin-left: auto;
+ margin-right: auto;
+
+ /* width: (containers) */
+ width: 960px;
+ }
+
+ /* Modifiers */
+
+ .container.small {
+ /* width: (containers) * 0.75; */
+ width: 720px;
+ }
+
+ .container.big {
+ width: 100%;
+
+ /* max-width: (containers) * 1.25; */
+ max-width: 1200px;
+
+ /* min-width: (containers); */
+ min-width: 960px;
+ }
+
+/* Grid */
+
+ /* Cells */
+
+ .\31 2u { width: 100% }
+ .\31 1u { width: 91.6666666667% }
+ .\31 0u { width: 83.3333333333% }
+ .\39 u { width: 75% }
+ .\38 u { width: 66.6666666667% }
+ .\37 u { width: 58.3333333333% }
+ .\36 u { width: 50% }
+ .\35 u { width: 41.6666666667% }
+ .\34 u { width: 33.3333333333% }
+ .\33 u { width: 25% }
+ .\32 u { width: 16.6666666667% }
+ .\31 u { width: 8.3333333333% }
+ .\-11u { margin-left: 91.6666666667% }
+ .\-10u { margin-left: 83.3333333333% }
+ .\-9u { margin-left: 75% }
+ .\-8u { margin-left: 66.6666666667% }
+ .\-7u { margin-left: 58.3333333333% }
+ .\-6u { margin-left: 50% }
+ .\-5u { margin-left: 41.6666666667% }
+ .\-4u { margin-left: 33.3333333333% }
+ .\-3u { margin-left: 25% }
+ .\-2u { margin-left: 16.6666666667% }
+ .\-1u { margin-left: 8.3333333333% }
+
+ /* Rows */
+
+ .row > * {
+ float: left;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -o-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+
+ /* padding: (gutters) 0 0 (gutters); */
+ padding: 40px 0 0 40px;
+ }
+
+ .row + .row > * {
+ /* padding-top: (gutters) */
+ padding-top: 40px;
+ }
+
+ .row {
+ /* margin-left: (gutters) */
+ margin-left: -40px;
+ }
+
+ .row:after {
+ content: '';
+ display: block;
+ clear: both;
+ height: 0;
+ }
+
+ .row:first-child > * {
+ padding-top: 0;
+ }
+
+ .row > * {
+ padding-top: 0;
+ }
+
+ /* Modifiers */
+
+ /* Flush */
+
+ .row.flush {
+ margin-left: 0;
+ }
+
+ .row.flush > * {
+ padding: 0 !important;
+ }
+
+ /* Quarter */
+
+ .row.quarter > * {
+ /* padding: (gutters * 0.25) 0 0 (gutters * 0.25) */
+ padding: 10px 0 0 10px;
+ }
+
+ .row.quarter + .row.quarter > * {
+ /* padding-top: (gutters * 0.25) */
+ padding-top: 10px;
+ }
+
+ .row.quarter {
+ /* margin-left: -(gutters * 0.25) */
+ margin-left: -10px;
+ }
+
+ /* Half */
+
+ .row.half > * {
+ /* padding: (gutters * 0.5) 0 0 (gutters * 0.5) */
+ padding: 20px 0 0 20px;
+ }
+
+ .row.half + .row.half > * {
+ /* padding-top: (gutters * 0.5) */
+ padding-top: 20px;
+ }
+
+ .row.half {
+ /* margin-left: -(gutters * 0.5) */
+ margin-left: -20px;
+ }
+
+ /* One and (a) Half */
+
+ .row.oneandhalf > * {
+ /* padding: (gutters * 1.5) 0 0 (gutters * 1.5) */
+ padding: 60px 0 0 60px;
+ }
+
+ .row.oneandhalf + .row.oneandhalf > * {
+ /* padding-top: (gutters * 1.5) */
+ padding-top: 60px;
+ }
+
+ .row.oneandhalf {
+ /* margin-left: -(gutters * 1.5) */
+ margin-left: -60px;
+ }
+
+ /* Double */
+
+ .row.double > * {
+ /* padding: (gutters * 2) 0 0 (gutters * 2) */
+ padding: 80px 0 0 80px;
+ }
+
+ .row.double + .row.double > * {
+ /* padding-top: (gutters * 2) */
+ padding-top: 80px;
+ }
+
+ .row.double {
+ /* margin-left: -(gutters * 2) */
+ margin-left: -80px;
+ }
+
+/* Collapsed */
+/*
+ .row:not(.no-collapse)
+ {
+ margin-left: 0;
+ }
+
+ .row:not(.no-collapse) > * {
+ float: none !important;
+ width: 100% !important;
+ margin-left: 0 !important;
+ }
+
+ .row:not(.no-collapse):not(.flush) > * {
+ padding: 10px 0 10px 0 !important;
+ }
+
+ .container {
+ max-width: none !important;
+ min-width: 0 !important;
+
+ // width: (containers) //
+ width: 960px !important;
+ }*/
View
33 dist/skel-panels.min.js
@@ -0,0 +1,33 @@
+/* skelJS v0.4.4 | (c) n33 | skeljs.org | MIT licensed */
+skel.registerPlugin("panels",function(){var b={config:{baseZIndex:1E4,useTransform:!0,transformBreakpoints:null,speed:250,panels:{},overlays:{}},cache:{panels:{},overlays:{},body:null,window:null,pageWrapper:null,defaultWrapper:null,fixedWrapper:null,activePanel:null},eventType:"click",positions:{panels:{top:["top","left"],right:["top","right"],bottom:["bottom","left"],left:["top","left"]},overlays:{"top-left":{top:0,left:0},"top-right":{top:0,right:0},top:{top:0,left:"50%"},"top-center":{top:0,left:"50%"},
+"bottom-left":{bottom:0,left:0},"bottom-right":{bottom:0,right:0},bottom:{bottom:0,left:"50%"},"bottom-center":{bottom:0,left:"50%"},left:{top:"50%",left:0},"middle-left":{top:"50%",left:0},right:{top:"50%",right:0},"middle-right":{top:"50%",right:0}}},presets:{standard:{panels:{navPanel:{breakpoints:"mobile",position:"left",style:"push",size:"80%",html:'<div data-action="navList" data-args="nav"></div>'}},overlays:{titleBar:{breakpoints:"mobile",position:"top-left",width:"100%",height:44,html:'<span class="toggle" data-action="togglePanel" data-args="navPanel"></span><span class="title" data-action="copyHTML" data-args="logo"></span>'}}}},
+defaults:{config:{panel:{breakpoints:"",position:null,style:null,size:"80%",html:"",resetScroll:!0,resetForms:!0,swipeToClose:!0},overlay:{breakpoints:"",position:null,width:0,height:0,html:""}}},recalcW:function(b){var c=parseInt(b);"string"==typeof b&&"%"==b.charAt(b.length-1)&&(c=Math.floor(jQuery(window).width()*(c/100)));return c},recalcH:function(b){var c=parseInt(b);"string"==typeof b&&"%"==b.charAt(b.length-1)&&(c=Math.floor(jQuery(window).height()*(c/100)));return c},getHalf:function(b){var c=
+parseInt(b);return"string"==typeof b&&"%"==b.charAt(b.length-1)?Math.floor(c/2)+"%":Math.floor(c/2)+"px"},parseSuspend:function(b){b=b.get(0);b._skel_panels_suspend&&b._skel_panels_suspend()},parseResume:function(b){b=b.get(0);b._skel_panels_resume&&b._skel_panels_resume()},parseInit:function(e){var c,d;c=e.get(0);var h=e.attr("data-action"),f=e.attr("data-args"),g,l;h&&f&&(f=f.split(","));switch(h){case "togglePanel":case "panelToggle":e.css("-webkit-tap-highlight-color","rgba(0,0,0,0)").css("cursor",
+"pointer");c=function(c){c.preventDefault();c.stopPropagation();if(b.cache.activePanel)return b.cache.activePanel._skel_panels_close(),!1;jQuery(this);c=b.cache.panels[f[0]];c.is(":visible")?c._skel_panels_close():c._skel_panels_open()};"android"==b._.vars.deviceType?e.bind("click",c):e.bind(b.eventType,c);break;case "navList":g=jQuery("#"+f[0]);c=g.find("a");d=[];c.each(function(){var b=jQuery(this),c;c=Math.max(0,b.parents("li").length-1);d.push('<a class="link depth-'+c+'" href="'+b.attr("href")+
+'"><span class="indent-'+c+'"></span>'+b.text()+"</a>")});0<d.length&&e.html("<nav>"+d.join("")+"</nav>");e.find(".link").css("cursor","pointer").css("display","block");break;case "copyText":g=jQuery("#"+f[0]);e.html(g.text());break;case "copyHTML":g=jQuery("#"+f[0]);e.html(g.html());break;case "moveElementContents":g=jQuery("#"+f[0]);c._skel_panels_resume=function(){g.children().each(function(){e.append(jQuery(this))})};c._skel_panels_suspend=function(){e.children().each(function(){g.append(jQuery(this))})};
+c._skel_panels_resume();break;case "moveElement":g=jQuery("#"+f[0]);c._skel_panels_resume=function(){jQuery('<div id="skel-panels-tmp-'+g.attr("id")+'" />').insertBefore(g);e.append(g)};c._skel_panels_suspend=function(){jQuery("#skel-panels-tmp-"+g.attr("id")).replaceWith(g)};c._skel_panels_resume();break;case "moveCell":g=jQuery("#"+f[0]),l=jQuery("#"+f[1]),c._skel_panels_resume=function(){jQuery('<div id="skel-panels-tmp-'+g.attr("id")+'" />').insertBefore(g);e.append(g);g.css("width","auto");l&&
+l._skel_panels_expandCell()},c._skel_panels_suspend=function(){jQuery("#skel-panels-tmp-"+g.attr("id")).replaceWith(g);g.css("width","");l&&l.css("width","")},c._skel_panels_resume()}},lockView:function(e){b.cache.window._skel_panels_scrollPos=b.cache.window.scrollTop();b._.vars.isTouch&&b.cache.body.css("overflow-"+e,"hidden");b.cache.pageWrapper.bind("touchstart.lock",function(c){c.preventDefault();c.stopPropagation();b.cache.activePanel&&b.cache.activePanel._skel_panels_close()});b.cache.pageWrapper.bind("click.lock",
+function(c){c.preventDefault();c.stopPropagation();b.cache.activePanel&&b.cache.activePanel._skel_panels_close()});b.cache.pageWrapper.bind("scroll.lock",function(c){c.preventDefault();c.stopPropagation();b.cache.activePanel&&b.cache.activePanel._skel_panels_close()});b.cache.window.bind("orientationchange.lock",function(c){b.cache.activePanel&&b.cache.activePanel._skel_panels_close()});b._.vars.isTouch||(b.cache.window.bind("resize.lock",function(c){b.cache.activePanel&&b.cache.activePanel._skel_panels_close()}),
+b.cache.window.bind("scroll.lock",function(c){b.cache.activePanel&&b.cache.activePanel._skel_panels_close()}))},unlockView:function(e){b._.vars.isTouch&&b.cache.body.css("overflow-"+e,"visible");b.cache.pageWrapper.unbind("touchstart.lock");b.cache.pageWrapper.unbind("click.lock");b.cache.pageWrapper.unbind("scroll.lock");b.cache.window.unbind("orientationchange.lock");b._.vars.isTouch||(b.cache.window.unbind("resize.lock"),b.cache.window.unbind("scroll.lock"))},resumeElement:function(e){b.cache[e.type+
+"s"][e.id].find("*").each(function(){b.parseResume(jQuery(this))})},suspendElement:function(e){e=b.cache[e.type+"s"][e.id];e._skel_panels_translateOrigin();e.find("*").each(function(){b.parseSuspend(jQuery(this))})},initElement:function(e){var c=e.config,d=jQuery(e.object),h;b.cache[e.type+"s"][e.id]=d;d._skel_panels_init();d.find("*").each(function(){b.parseInit(jQuery(this))});switch(e.type){case "panel":d.addClass("skel-panels-panel").css("z-index",b.config.baseZIndex).css("position","fixed").hide();
+d.find("a").css("-webkit-tap-highlight-color","rgba(0,0,0,0)").bind("click.skel-panels",function(c){var d=jQuery(this);if(b.cache.activePanel&&!d.hasClass("skel-panels-ignore")){c.preventDefault();c.stopPropagation();var e=d.attr("href");b.cache.activePanel._skel_panels_close();d.hasClass("skel-panels-ignoreHref")||window.setTimeout(function(){window.location.href=e},b.config.speed+10)}});"ios"==b._.vars.deviceType&&d.find("input,select,textarea").focus(function(c){var d=jQuery(this);c.preventDefault();
+c.stopPropagation();window.setTimeout(function(){var c=b.cache.window._skel_panels_scrollPos,g=b.cache.window.scrollTop()-c;b.cache.window.scrollTop(c);b.cache.activePanel.scrollTop(b.cache.activePanel.scrollTop()+g);d.hide();window.setTimeout(function(){d.show()},0)},100)});switch(c.position){case "top":case "bottom":var f="bottom"==c.position?"-":"";d.addClass("skel-panels-panel-"+c.position).data("skel-panels-panel-position",c.position).css("height",b.recalcH(c.size)).scrollTop(0);b._.vars.isTouch?
+d.css("overflow-y","scroll").css("-webkit-overflow-scrolling","touch").bind("touchstart",function(b){d._posY=b.originalEvent.touches[0].pageY;d._posX=b.originalEvent.touches[0].pageX}).bind("touchmove",function(b){b=d._posY-b.originalEvent.touches[0].pageY;var c=d.outerHeight(),e=d.get(0).scrollHeight-d.scrollTop();if(0==d.scrollTop()&&0>b||e>c-2&&e<c+2&&0<b)return!1}):d.css("overflow-y","auto");switch(c.style){default:d._skel_panels_open=function(){d._skel_panels_promote().scrollTop(0).css("left",
+"0px").css(c.position,"-"+b.recalcH(c.size)+"px").css("height",b.recalcH(c.size)).css("width","100%").show();c.resetScroll&&d.scrollTop(0);c.resetForms&&d._skel_panels_resetForms();b.lockView("y");window.setTimeout(function(){d.add(b.cache.fixedWrapper.children()).add(b.cache.pageWrapper)._skel_panels_translate(0,f+b.recalcH(c.size));b.cache.activePanel=d},100)},d._skel_panels_close=function(){d.find("*").blur();d.add(b.cache.pageWrapper).add(b.cache.fixedWrapper.children())._skel_panels_translateOrigin();
+window.setTimeout(function(){b.unlockView("y");d._skel_panels_demote().hide();b.cache.activePanel=null},b.config.speed+50)}}break;case "left":case "right":switch(f="right"==c.position?"-":"",d.addClass("skel-panels-panel-"+c.position).data("skel-panels-panel-position",c.position).css("width",b.recalcW(c.size)).scrollTop(0),b._.vars.isTouch?d.css("overflow-y","scroll").css("-webkit-overflow-scrolling","touch").bind("touchstart",function(b){d._posY=b.originalEvent.touches[0].pageY;d._posX=b.originalEvent.touches[0].pageX}).bind("touchmove",
+function(b){var e=d._posX-b.originalEvent.touches[0].pageX;b=d._posY-b.originalEvent.touches[0].pageY;var f=d.outerHeight(),h=d.get(0).scrollHeight-d.scrollTop();if(c.swipeToClose&&20>b&&-20<b&&("left"==c.position&&50<e||"right"==c.position&&-50>e))return d._skel_panels_close(),!1;if(0==d.scrollTop()&&0>b||h>f-2&&h<f+2&&0<b)return!1}):d.css("overflow-y","auto"),c.style){default:d._skel_panels_open=function(){d._skel_panels_promote().scrollTop(0).css("top","0px").css(c.position,"-"+b.recalcW(c.size)+
+"px").css("width",b.recalcW(c.size)).css("height","100%").show();c.resetScroll&&d.scrollTop(0);c.resetForms&&d._skel_panels_resetForms();b.lockView("x");window.setTimeout(function(){d.add(b.cache.fixedWrapper.children()).add(b.cache.pageWrapper)._skel_panels_translate(f+b.recalcW(c.size),0);b.cache.activePanel=d},100)};d._skel_panels_close=function(){d.find("*").blur();d.add(b.cache.fixedWrapper.children()).add(b.cache.pageWrapper)._skel_panels_translateOrigin();window.setTimeout(function(){b.unlockView("x");
+d._skel_panels_demote().hide();b.cache.activePanel=null},b.config.speed+50)};break;case "reveal":d._skel_panels_open=function(){b.cache.fixedWrapper._skel_panels_promote(2);b.cache.pageWrapper._skel_panels_promote(1);d.scrollTop(0).css("top","0px").css(c.position,"0px").css("width",b.recalcW(c.size)).css("height","100%").show();c.resetScroll&&d.scrollTop(0);c.resetForms&&d._skel_panels_resetForms();b.lockView("x");window.setTimeout(function(){b.cache.pageWrapper.add(b.cache.fixedWrapper.children())._skel_panels_translate(f+
+b.recalcW(c.size),0);b.cache.activePanel=d},100)},d._skel_panels_close=function(){d.find("*").blur();b.cache.pageWrapper.add(b.cache.fixedWrapper.children())._skel_panels_translateOrigin();window.setTimeout(function(){b.unlockView("x");d.hide();b.cache.pageWrapper._skel_panels_demote();b.cache.pageWrapper._skel_panels_demote();b.cache.activePanel=null},b.config.speed+50)}}}break;case "overlay":d.css("z-index",b.config.baseZIndex).css("position","fixed").addClass("skel-panels-overlay"),d.css("width",
+c.width).css("height",c.height),(h=b.positions.overlays[c.position])||(c.position="top-left",h=b.positions.overlays[c.position]),d.addClass("skel-panels-overlay-"+c.position).data("skel-panels-overlay-position",c.position),b._.iterate(h,function(e){d.css(e,h[e]);"50%"==h[e]&&("top"==e?d.css("margin-top","-"+b.getHalf(c.height)):"left"==e&&d.css("margin-left","-"+b.getHalf(c.width)))})}},initElements:function(e){var c,d,h,f=[];b._.iterate(b.config[e+"s"],function(g){c={};b._.extend(c,b.defaults.config[e]);
+b._.extend(c,b.config[e+"s"][g]);b.config[e+"s"][g]=c;d=b._.newDiv(c.html);d.id=g;d.className="skel-panels-"+e;c.html||(f[g]=d);h=c.breakpoints?c.breakpoints.split(","):b._.breakpointList;b._.iterate(h,function(f){f=b._.cacheBreakpointElement(h[f],g,d,"overlay"==e?"skel_panels_fixedWrapper":"skel_panels_defaultWrapper",2);f.config=c;f.initialized=!1;f.type=e;f.onAttach=function(){this.initialized?b.resumeElement(this):(b.initElement(this),this.initialized=!0)};f.onDetach=function(){b.suspendElement(this)}})});
+b._.DOMReady(function(){var c,d;b._.iterate(f,function(b){c=jQuery("#"+b);d=jQuery(f[b]);c.children().appendTo(d);c.remove()})})},initJQueryUtilityFuncs:function(){jQuery.fn._skel_panels_promote=function(c){this._zIndex=this.css("z-index");this.css("z-index",b.config.baseZIndex+(c?c:1));return this};jQuery.fn._skel_panels_demote=function(){this._zIndex&&(this.css("z-index",this._zIndex),this._zIndex=null);return this};jQuery.fn._skel_panels_xcssValue=function(b,d){return jQuery(this).css(b,"-moz-"+
+d).css(b,"-webkit-"+d).css(b,"-o-"+d).css(b,"-ms-"+d).css(b,d)};jQuery.fn._skel_panels_xcssProperty=function(b,d){return jQuery(this).css("-moz-"+b,d).css("-webkit-"+b,d).css("-o-"+b,d).css("-ms-"+b,d).css(b,d)};jQuery.fn._skel_panels_xcss=function(b,d){return jQuery(this).css("-moz-"+b,"-moz-"+d).css("-webkit-"+b,"-webkit-"+d).css("-o-"+b,"-o-"+d).css("-ms-"+b,"-ms-"+d).css(b,d)};jQuery.fn._skel_panels_resetForms=function(){var b=jQuery(this);jQuery(this).find("form").each(function(){this.reset()});
+return b};jQuery.fn._skel_panels_initializeCell=function(){var b=jQuery(this);b.attr("class").match(/(\s+|^)([0-9]+)u(\s+|$)/)&&b.data("cell-size",parseInt(RegExp.$2))};jQuery.fn._skel_panels_expandCell=function(){var b=jQuery(this),d=12;b.parent().children().each(function(){var b=jQuery(this).attr("class");b&&b.match(/(\s+|^)([0-9]+)u(\s+|$)/)&&(d-=parseInt(RegExp.$2))});0<d&&(b._skel_panels_initializeCell(),b.css("width",100*((b.data("cell-size")+d)/12)+"%"))};if(b.config.useTransform&&10<=b._.vars.IEVersion&&
+(!b.config.transformBreakpoints||b._.hasActive(b.config.transformBreakpoints.split(","))))jQuery.fn._skel_panels_translateOrigin=function(){return jQuery(this)._skel_panels_translate(0,0)},jQuery.fn._skel_panels_translate=function(b,d){return jQuery(this).css("transform","translate("+b+"px, "+d+"px)")},jQuery.fn._skel_panels_init=function(){return jQuery(this).css("backface-visibility","hidden").css("perspective","500")._skel_panels_xcss("transition","transform "+b.config.speed/1E3+"s ease-in-out")};
+else{var e=[];b.cache.window.resize(function(){if(0!=b.config.speed){var c=b.config.speed;b.config.speed=0;window.setTimeout(function(){b.config.speed=c;e=[]},c)}});jQuery.fn._skel_panels_translateOrigin=function(){for(var c=0;c<this.length;c++){var d=this[c],h=jQuery(d);e[d.id]&&h.animate(e[d.id],b.config.speed,"swing",function(){b._.iterate(e[d.id],function(b){h.css(b,e[d.id][b])});b.cache.body.css("overflow-x","visible");b.cache.pageWrapper.css("width","auto").css("padding-bottom",0)})}return jQuery(this)};
+jQuery.fn._skel_panels_translate=function(c,d){var h,f,g,l;c=parseInt(c);d=parseInt(d);0!=c?(b.cache.body.css("overflow-x","hidden"),b.cache.pageWrapper.css("width",b.cache.window.width())):g=function(){b.cache.body.css("overflow-x","visible");b.cache.pageWrapper.css("width","auto")};0>d?b.cache.pageWrapper.css("padding-bottom",Math.abs(d)):l=function(){b.cache.pageWrapper.css("padding-bottom",0)};for(h=0;h<this.length;h++){var k=this[h],n=jQuery(k),m;if(!e[k.id])if(m=b.positions.overlays[n.data("skel-panels-overlay-position")])e[k.id]=
+m;else if(m=b.positions.panels[n.data("skel-panels-panel-position")])for(e[k.id]={},f=0;m[f];f++)e[k.id][m[f]]=parseInt(n.css(m[f]));else m=n.position(),e[k.id]={top:m.top,left:m.left};a={};b._.iterate(e[k.id],function(f){var g;switch(f){case "top":g=b.recalcH(e[k.id][f])+d;break;case "bottom":g=b.recalcH(e[k.id][f])-d;break;case "left":g=b.recalcW(e[k.id][f])+c;break;case "right":g=b.recalcW(e[k.id][f])-c}a[f]=g});n.animate(a,b.config.speed,"swing",function(){g&&g();l&&l()})}return jQuery(this)};
+jQuery.fn._skel_panels_init=function(){return jQuery(this).css("position","absolute")}}},initObjects:function(){b.cache.window=jQuery(window);b.cache.window.load(function(){0==b.cache.window.scrollTop()&&window.scrollTo(0,1)});b._.DOMReady(function(){b.cache.body=jQuery("body");b.cache.body.wrapInner('<div id="skel-panels-pageWrapper" />');b.cache.pageWrapper=jQuery("#skel-panels-pageWrapper");b.cache.pageWrapper.css("position","relative").css("left","0").css("right","0").css("top","0")._skel_panels_init();
+b.cache.defaultWrapper=jQuery('<div id="skel-panels-defaultWrapper" />').appendTo(b.cache.body);b.cache.defaultWrapper.css("height","100%");b.cache.fixedWrapper=jQuery('<div id="skel-panels-fixedWrapper" />').appendTo(b.cache.body);b.cache.fixedWrapper.css("position","relative");jQuery(".skel-panels-fixed").appendTo(b.cache.fixedWrapper);b._.registerLocation("skel_panels_defaultWrapper",b.cache.defaultWrapper[0]);b._.registerLocation("skel_panels_fixedWrapper",b.cache.fixedWrapper[0]);b._.registerLocation("skel_panels_pageWrapper",
+b.cache.pageWrapper[0]);$("[autofocus]").focus()})},initIncludes:function(){b._.DOMReady(function(){jQuery(".skel-panels-include").each(function(){b.parseInit(jQuery(this))})})},init:function(){b.eventType=b._.vars.isTouch?"touchend":"click";"android"==b._.vars.deviceType&&4>b._.vars.deviceVersion&&(b.config.useTransform=!1);b.initObjects();b.initJQueryUtilityFuncs();b.initElements("overlay");b.initElements("panel");b.initIncludes();b._.updateState()}};return b}());
View
38 dist/skel.min.js
@@ -0,0 +1,38 @@
+/* skelJS v0.4.4 | (c) n33 | skeljs.org | MIT licensed */
+var skel=function(){var a={config:{prefix:null,preloadStyleSheets:!1,pollOnce:!1,resetCSS:!1,normalizeCSS:!1,boxModel:null,useOrientation:!1,useRTL:!1,pollOnLock:!1,usePerpetualLock:!0,useDomainLock:!0,containers:960,grid:{collapse:!1,gutters:40},breakpoints:{all:{range:"*",hasStyleSheet:!1}},events:{}},isConfigured:!1,isInit:!1,lockState:null,stateId:"",me:null,breakpoints:[],breakpointList:[],events:[],plugins:{},cache:{elements:{},states:{}},locations:{html:null,head:null,body:null},vars:{},lsc:"_skel_lock",
+sd:" ",css:{r:"html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}body{-webkit-text-size-adjust:none}",
+n:'article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{background:#fff;color:#000;font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\u0081C" "\u0081D" "\u00818" "\u00819"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}',
+g:".\\31 2u{width:100%}.\\31 1u{width:91.6666666667%}.\\31 0u{width:83.3333333333%}.\\39 u{width:75%}.\\38 u{width:66.6666666667%}.\\37 u{width:58.3333333333%}.\\36 u{width:50%}.\\35 u{width:41.6666666667%}.\\34 u{width:33.3333333333%}.\\33 u{width:25%}.\\32 u{width:16.6666666667%}.\\31 u{width:8.3333333333%}.\\31 u,.\\32 u,.\\33 u,.\\34 u,.\\35 u,.\\36 u,.\\37 u,.\\38 u,.\\39 u,.\\31 0u,.\\31 1u,.\\31 2u{float:left;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.\\-11u{margin-left:91.6666666667%}.\\-10u{margin-left:83.3333333333%}.\\-9u{margin-left:75%}.\\-8u{margin-left:66.6666666667%}.\\-7u{margin-left:58.3333333333%}.\\-6u{margin-left:50%}.\\-5u{margin-left:41.6666666667%}.\\-4u{margin-left:33.3333333333%}.\\-3u{margin-left:25%}.\\-2u{margin-left:16.6666666667%}.\\-1u{margin-left:8.3333333333%}",
+gF:".row.flush{margin-left:0}.row.flush>*{padding:0!important}",gR:".row:after{content:'';display:block;clear:both;height:0}.row:first-child>*{padding-top:0}.row>*{padding-top:0}",gC:".row@{margin-left:0}.row@>*{float:none!important;width:100%!important;margin-left:0!important}.row:not(.no-collapse):not(.flush)>*{padding:10px 0 10px 0!important;}"},presets:{"default":{},standard:{breakpoints:{mobile:{range:"-480",lockViewport:!0,containers:"fluid",grid:{collapse:1}},desktop:{range:"481-",containers:1200},
+"1000px":{range:"481-1200",containers:960}}}},defaults:{breakpoint:{test:null,config:null,elements:null},config_breakpoint:{range:"",containers:960,lockViewport:!1,viewportWidth:!1,hasStyleSheet:!0,grid:{}}},DOMReady:null,getElementsByClassName:null,indexOf:null,iterate:null,extend:function(b,c){a.iterate(c,function(d){"object"==typeof c[d]?("object"!=typeof b[d]&&(b[d]={}),a.extend(b[d],c[d])):b[d]=c[d]})},parseMeasurement:function(a){var c;"string"!==typeof a?a=[a,"px"]:"fluid"==a?a=[100,"%"]:(c=
+a.match(/([0-9\.]+)([^\s]*)/),a=3>c.length||!c[2]?[parseFloat(a),"px"]:[parseFloat(c[1]),c[2]]);return a},getDevicePixelRatio:function(){var b=navigator.userAgent;if("ios"==a.vars.deviceType||"mac"==a.vars.deviceType||"windows"==a.vars.deviceType||"android"==a.vars.deviceType&&b.match(/Safari\/([0-9]+)/)&&537<=parseInt(RegExp.$1))return 1;if(void 0!==window.devicePixelRatio&&!b.match(/(Firefox; Mobile)/))return window.devicePixelRatio;if(window.matchMedia){if(window.matchMedia("(-webkit-min-device-pixel-ratio: 2),(min--moz-device-pixel-ratio: 2),(-o-min-device-pixel-ratio: 2/1),(min-resolution: 2dppx)").matches)return 2;
+if(window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)").matches)return 1.5}return 1},getViewportWidth:function(){var b,c,d;b=document.documentElement.clientWidth;c=void 0!==window.orientation?Math.abs(window.orientation):!1;d=a.getDevicePixelRatio();screen.width<b&&(b=screen.width);!1!==c&&(b=a.config.useOrientation?90===c?Math.max(screen.width,screen.height):Math.min(screen.width,screen.height):Math.min(screen.width,
+screen.height));return b/d},unlock:function(){a.lockState=null;document.cookie=a.lsc+"=;expires=Thu, 1 Jan 1970 12:00:00 UTC; path="+(a.config.useDomainLock?"/":window.location.pathname);a.config.pollOnLock?a.poll():window.location.reload()},lock:function(b){a.lockState=b;document.cookie=a.lsc+"="+b+";expires="+(a.config.usePerpetualLock?"Thu, 1 Jan 2077 12:00:00 UTC":0)+"; path="+(a.config.useDomainLock?"/":window.location.pathname);a.config.pollOnLock?a.poll():window.location.reload()},getLock:function(){return a.lockState},
+isLocked:function(){return!!a.lockState},hasActive:function(b){var c=!1;a.iterate(b,function(d){c=c||a.isActive(b[d])});return c},isActive:function(b){return-1!==a.indexOf(a.stateId,a.sd+b)},wasActive:function(b){return-1!==a.indexOf(a.vars.lastStateId,a.sd+b)},canUse:function(b){return a.breakpoints[b]&&a.breakpoints[b].test(a.getViewportWidth())},unreverseRows:function(){var b=a.getElementsByClassName("row");a.iterate(b,function(a){if("length"!==a&&(a=b[a],a._skel_isReversed)){var d=a.children,
+f;for(f=1;f<d.length;f++)a.insertBefore(d[f],d[0]);a._skel_isReversed=!1}})},reverseRows:function(b){var c=a.getElementsByClassName("row");a.iterate(c,function(a){if("length"!==a&&(a=c[a],!(a._skel_isReversed||b&&a.className.match(/\bno-collapse-([0-9])\b/)&&parseInt(RegExp.$1)>=parseInt(b)))){var f=a.children,h;for(h=1;h<f.length;h++)a.insertBefore(f[h],f[0]);a._skel_isReversed=!0}})},bind:function(b,c){a.events[b]||(a.events[b]=[]);a.events[b].push(c)},trigger:function(b){a.events[b]&&0!=a.events[b].length&&
+a.iterate(a.events[b],function(c){a.events[b][c]()})},onStateChange:function(b){a.bind("stateChange",b);a.isInit&&b()},registerLocation:function(b,c){c._skel_attach="head"==b?function(b){this===a.me.parentNode?this.insertBefore(b,a.me):this.appendChild(b)}:function(a){this.appendChild(a)};a.locations[b]=c},cacheElement:function(b,c,d,f){return a.cache.elements[b]={id:b,object:c,location:d,priority:f}},cacheBreakpointElement:function(b,c,d,f,h){var g=a.getCachedElement(c);g||(g=a.cacheElement(c,d,
+f,h));a.breakpoints[b]&&a.breakpoints[b].elements.push(g);return g},getCachedElement:function(b){return a.cache.elements[b]?a.cache.elements[b]:null},detachAllElements:function(){var b;a.iterate(a.cache.elements,function(c){b=a.cache.elements[c].object;if(b.parentNode&&(!b.parentNode||b.parentNode.tagName)&&(b.parentNode.removeChild(b),a.cache.elements[c].onDetach))a.cache.elements[c].onDetach()})},attachElements:function(b){var c=[],d=[],f;a.iterate(b,function(a){c[b[a].priority]||(c[b[a].priority]=
+[]);c[b[a].priority].push(b[a])});a.iterate(c,function(b){0!=c[b].length&&a.iterate(c[b],function(g){if(f=a.locations[c[b][g].location]){if(f._skel_attach(c[b][g].object),c[b][g].onAttach)c[b][g].onAttach()}else d.push(c[b][g])})});0<d.length&&a.DOMReady(function(){a.iterate(d,function(b){if(f=a.locations[d[b].location])if(f._skel_attach(d[b].object),d[b].onAttach)d[b].onAttach()})})},poll:function(){var b,c="";b=a.lockState?a.lockState:a.getViewportWidth();a.vars.viewportWidth=b;a.vars.devicePixelRatio=
+a.getDevicePixelRatio();a.iterate(a.breakpoints,function(d){a.breakpoints[d].test(b)&&(c+=a.sd+d)});""===c&&(c=a.sd);c!==a.stateId&&(a.locations.html.className=a.locations.html.className.replace(a.stateId,""),a.changeState(c),a.locations.html.className+=a.stateId)},updateState:function(){var b,c=[],d=a.stateId.substring(1).split(a.sd);a.iterate(d,function(f){b=a.breakpoints[d[f]];0!=b.elements.length&&a.iterate(b.elements,function(d){a.cache.states[a.stateId].elements.push(b.elements[d]);c.push(b.elements[d])})});
+0<c.length&&a.attachElements(c)},changeState:function(b){var c,d,f,h,g,l,k;a.vars.lastStateId=a.stateId;a.stateId=b;if(a.cache.states[a.stateId])d=a.cache.states[a.stateId];else{a.cache.states[a.stateId]={config:{},elements:[],values:{}};d=a.cache.states[a.stateId];c=a.stateId===a.sd?[]:a.stateId.substring(1).split(a.sd);a.extend(d.config,a.defaults.config_breakpoint);a.iterate(c,function(b){a.extend(d.config,a.breakpoints[c[b]].config)});a.config.boxModel&&(g="iBM",(h=a.getCachedElement(g))||(h=
+a.cacheElement(g,a.newInline("*,*:before,*:after{-moz-@;-webkit-@;-o-@;-ms-@;@}".replace(/@/g,"box-sizing:"+a.config.boxModel+"-box")),"head",3)),d.elements.push(h));a.config.resetCSS?(g="iR",(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newInline(a.css.r),"head",2)),d.elements.push(h)):a.config.normalizeCSS&&(g="iN",(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newInline(a.css.n),"head",2)),d.elements.push(h));a.config.prefix&&(g="ssB",(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newStyleSheet(a.config.prefix+
+".css"),"head",4)),d.elements.push(h));d.config.lockViewport?(g="mVL"+a.stateId,(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newMeta("viewport","width="+(d.config.viewportWidth?d.config.viewportWidth:"device-width")+",initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"),"head",1)),d.elements.push(h)):d.config.viewportWidth&&(g="mV"+a.stateId,(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newMeta("viewport","width="+d.config.viewportWidth),"head",1)),d.elements.push(h));f=
+a.parseMeasurement(d.config.containers);b=f[0];f=f[1];d.values.containers=b+f;g="iC"+b+f;if(!(h=a.getCachedElement(g))){var m;m=b+f;h=a.cacheElement(g,a.newInline("body{min-width:"+m+"}.container{margin-left:auto;margin-right:auto;width:"+m+"}.container.small{width:"+(0.75*b+f)+"}.container.big{width:100%;max-width:"+(1.25*b+f)+";min-width:"+m+"}"),"head",3)}d.elements.push(h);g="iG";(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newInline(a.css.g+a.css.gF),"head",3));d.elements.push(h);g="iGG"+
+d.config.grid.gutters;if(!(h=a.getCachedElement(g))){var n,p,q;f=a.parseMeasurement(d.config.grid.gutters);b=f[0];n=f[1];f=b+n;m=b/2+n;p=b/4+n;q=1.5*b+n;b=2*b+n;h=a.cacheElement("iGG"+d.config.grid.gutters,a.newInline(".row>*{padding:"+f+" 0 0 "+f+"}.row+.row>*{padding-top:"+f+"}.row{margin-left:-"+f+"}.row.half>*{padding:"+m+" 0 0 "+m+"}.row.half+.row.half>*{padding-top:"+m+"}.row.half{margin-left:-"+m+"}.row.quarter>*{padding:"+p+" 0 0 "+p+"}.row.quarter+.row.quarter>*{padding-top:"+p+"}.row.quarter{margin-left:-"+
+p+"}.row.oneandhalf>*{padding:"+q+" 0 0 "+q+"}.row.oneandhalf+.row.oneandhalf>*{padding-top:"+q+"}.row.oneandhalf{margin-left:-"+q+"}.row.double>*{padding:"+b+" 0 0 "+b+"}.row.double+.row.double>*{padding-top:"+b+"}.row.double{margin-left:-"+b+"}"),"head",3)}d.elements.push(h);if(d.config.grid.collapse){if(b=parseInt(d.config.grid.collapse),isNaN(b)&&(b=1),g="iGC"+b,!(h=a.getCachedElement(g))){l=a.css.gR+a.css.gC;k=":not(.no-collapse)";switch(b){case 4:break;case 3:k+=":not(.no-collapse-3)";break;
+case 2:k+=":not(.no-collapse-2):not(.no-collapse-3)";break;default:k+=":not(.no-collapse-1):not(.no-collapse-2):not(.no-collapse-3)"}l=l.replace(/@/g,k);h=a.cacheElement(g,a.newInline(l+".container{max-width:none!important;min-width:0!important;width:"+d.values.containers+"!important}"),"head",3)}}else g="iGNoCo",(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newInline(a.css.gR),"head",3));d.elements.push(h);g="iCd"+a.stateId;(h=a.getCachedElement(g))||(l=[],k=[],a.iterate(a.breakpoints,function(b){-1!==
+a.indexOf(c,b)?l.push(".not-"+b):k.push(".only-"+b)}),b=(0<l.length?l.join(",")+"{display:none!important}":"")+(0<k.length?k.join(",")+"{display:none!important}":""),h=a.cacheElement(g,a.newInline(b.replace(/\.([0-9])/,".\\3$1 ")),"head",3),d.elements.push(h));a.iterate(c,function(b){a.breakpoints[c[b]].config.hasStyleSheet&&a.config.prefix&&(g="ss"+c[b],(h=a.getCachedElement(g))||(h=a.cacheElement(g,a.newStyleSheet(a.config.prefix+"-"+c[b]+".css"),"head",5)),d.elements.push(h));0<a.breakpoints[c[b]].elements.length&&
+a.iterate(a.breakpoints[c[b]].elements,function(f){d.elements.push(a.breakpoints[c[b]].elements[f])})})}a.detachAllElements();a.attachElements(d.elements);a.DOMReady(function(){var b,c;a.config.useRTL&&(a.unreverseRows(),d.config.grid.collapse&&a.reverseRows(d.config.grid.collapse));(b=a.getElementsByClassName("skel-cell-important"))&&0<b.length&&(d.config.grid.collapse?a.iterate(b,function(a){"length"!==a&&(e=b[a],e.hasOwnProperty("_skel_cell_important_placeholder")&&!1!==e._skel_cell_important_placeholder||
+(c=document.createElement("div"),c.innerHTML="",c.style.display="none",e.parentNode.insertBefore(c,e.nextSibling),e.parentNode.insertBefore(e,e.parentNode.firstChild),e._skel_cell_important_placeholder=c))}):a.iterate(b,function(a){e=b[a];"length"!==a&&(e.hasOwnProperty("_skel_cell_important_placeholder")||(e._skel_cell_important_placeholder=!1),c=e._skel_cell_important_placeholder,!1!==c&&(e.parentNode.insertBefore(e,c),e.parentNode.removeChild(c),e._skel_cell_important_placeholder=!1))}))});a.vars.state=
+a.cache.states[a.stateId];a.vars.stateId=a.stateId;a.trigger("stateChange")},newMeta:function(a,c){var d=document.createElement("meta");d.name=a;d.content=c;return d},newStyleSheet:function(a){var c=document.createElement("link");c.rel="stylesheet";c.type="text/css";c.href=a;return c},newInline:function(b){var c;8>=a.vars.IEVersion?(c=document.createElement("span"),c.innerHTML='&nbsp;<style type="text/css">'+b+"</style>"):(c=document.createElement("style"),c.type="text/css",c.innerHTML=b);return c},
+newDiv:function(a){var c=document.createElement("div");c.innerHTML=a;return c},registerPlugin:function(b,c){a.plugins[b]=c;c._=this;a.isConfigured&&(a.initPluginConfig(b,a.plugins[b]),c.init())},initPluginConfig:function(b,c){var d;d="_skel_"+b+"_config";window[d]?d=window[d]:(d=document.getElementsByTagName("script"),(d=d[d.length-1].innerHTML.replace(/^\s+|\s+$/g,""))&&(d=eval("("+d+")")));"object"==typeof d&&(d.preset&&c.presets[d.preset]&&a.extend(c.config,c.presets[d.preset]),a.extend(c.config,
+d))},initConfig:function(){function b(b,c){var d;"string"!=typeof c&&(d=function(a){return!1});"*"==c?d=function(a){return!0}:"-"==c.charAt(0)?(h[b]=parseInt(c.substring(1)),d=function(a){return a<=h[b]}):"-"==c.charAt(c.length-1)?(h[b]=parseInt(c.substring(0,c.length-1)),d=function(a){return a>=h[b]}):-1!=a.indexOf(c,"-")?(c=c.split("-"),h[b]=[parseInt(c[0]),parseInt(c[1])],d=function(a){return a>=h[b][0]&&a<=h[b][1]}):(h[b]=parseInt(c),d=function(a){return a==h[b]});return d}var c,d,f,h=[],g=[];
+window._skel_config?f=window._skel_config:(f=a.me.innerHTML.replace(/^\s+|\s+$/g,""))&&(f=eval("("+f+")"));"object"==typeof f&&(f.preset&&a.presets[f.preset]?(a.config.breakpoints={},a.extend(a.config,a.presets[f.preset])):f.breakpoints&&(a.config.breakpoints={}),a.extend(a.config,f));a.extend(a.defaults.config_breakpoint.grid,a.config.grid);a.defaults.config_breakpoint.containers=a.config.containers;a.iterate(a.config.breakpoints,function(f){"object"!=typeof a.config.breakpoints[f]&&(a.config.breakpoints[f]=
+{range:a.config.breakpoints[f]});c={};a.extend(c,a.defaults.config_breakpoint);a.extend(c,a.config.breakpoints[f]);a.config.breakpoints[f]=c;d={};a.extend(d,a.defaults.breakpoint);d.config=a.config.breakpoints[f];d.test=b(f,d.config.range);d.elements=[];a.breakpoints[f]=d;a.config.preloadStyleSheets&&d.config.hasStyleSheet&&g.push(a.config.prefix+"-"+f+".css");a.breakpointList.push(f)});a.iterate(a.config.events,function(b){a.bind(b,a.config.events[b])});0<g.length&&"file:"!=window.location.protocol&&
+a.DOMReady(function(){document.getElementsByTagName("head");var b=new XMLHttpRequest;a.iterate(g,function(a){b.open("GET",g[a],!1);b.send("")})})},initEvents:function(){a.config.pollOnce||(window.onresize=function(){a.poll()},a.config.useOrientation&&(window.onorientationchange=function(){a.poll()}))},initUtilityMethods:function(){(function(){var b=window,c=function(a){f=!1;c.isReady=!1;"function"===typeof a&&h.push(a);a=!1;if(!f)if(f=!0,"loading"!==d.readyState&&l(),d.addEventListener)d.addEventListener("DOMContentLoaded",
+g,!1),b.addEventListener("load",g,!1);else if(d.attachEvent){d.attachEvent("onreadystatechange",g);b.attachEvent("onload",g);try{a=null==b.frameElement}catch(n){}d.documentElement.doScroll&&a&&k()}},d=b.document,f=!1,h=[],g=function(){d.addEventListener?d.removeEventListener("DOMContentLoaded",g,!1):d.detachEvent("onreadystatechange",g);l()},l=function(){if(!c.isReady){if(!d.body)return setTimeout(l,1);c.isReady=!0;a.iterate(h,function(a){h[a]()});h=[]}},k=function(){if(!c.isReady){try{d.documentElement.doScroll("left")}catch(a){setTimeout(k,
+1);return}l()}};c.isReady=!1;a.DOMReady=c})();a.getElementsByClassName=document.getElementsByClassName?function(a){return document.getElementsByClassName(a)}:function(a){var c=document;return c.querySelectorAll?c.querySelectorAll(("."+a.replace(" "," .")).replace(/\.([0-9])/,".\\3$1 ")):[]};a.indexOf=Array.prototype.indexOf?function(a,c){return a.indexOf(c)}:function(a,c){"string"==typeof a&&(a=a.split(""));var d=a.length>>>0,f=Number(c)||0,f=0>f?Math.ceil(f):Math.floor(f);for(0>f&&(f+=d);f<d;f++)if(a instanceof
+Array&&f in a&&a[f]===c)return f;return-1};a.iterate=Object.keys?function(a,c){if(!a)return[];var d,f=Object.keys(a);for(d=0;f[d];d++)c(f[d])}:function(a,c){if(!a)return[];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&c(d)}},initAPI:function(){var b,c,d=navigator.userAgent;a.vars.IEVersion=d.match(/MSIE ([0-9]+)\./)?RegExp.$1:99;a.vars.isTouch=!!("ontouchstart"in window);a.vars.deviceType="other";c={ios:"(iPad|iPhone|iPod)",android:"Android",mac:"Macintosh",windows:"Windows NT"};a.iterate(c,
+function(b){d.match(RegExp(c[b],"g"))&&(a.vars.deviceType=b)});switch(a.vars.deviceType){case "ios":d.match(/([0-9_]+) like Mac OS X/);b=parseFloat(RegExp.$1.replace("_",".").replace("_",""));break;case "android":d.match(/Android ([0-9\.]+)/);b=parseFloat(RegExp.$1);break;case "mac":d.match(/Mac OS X ([0-9_]+)/);b=parseFloat(RegExp.$1.replace("_",".").replace("_",""));break;case "windows":d.match(/Windows NT ([0-9\.]+)/);b=parseFloat(RegExp.$1);break;default:b=99}a.vars.deviceVersion=b;b=document.cookie.split(";");
+a.iterate(b,function(c){c=b[c].split("=");c[0].replace(/^\s+|\s+$/g,"")==a.lsc&&(a.lockState=c[1])})},init:function(b,c){a.initUtilityMethods();a.initAPI();b&&(window._skel_config=b);c&&a.iterate(c,function(a){window["_skel_"+a+"_config"]=c[a]});a.initConfig();a.registerLocation("html",document.getElementsByTagName("html")[0]);a.registerLocation("head",document.getElementsByTagName("head")[0]);a.DOMReady(function(){a.registerLocation("body",document.getElementsByTagName("body")[0])});a.initEvents();
+a.poll();a.iterate(a.plugins,function(b){a.initPluginConfig(b,a.plugins[b]);a.plugins[b].init()});a.isInit=!0},preInit:function(){var b=document.getElementsByTagName("script");a.me=b[b.length-1];if(window._skel_config)a.isConfigured=!0;else if(s=document.getElementsByTagName("script"),s=s[s.length-1].innerHTML.replace(/^\s+|\s+$/g,""))a.isConfigured=!0;a.isConfigured&&a.init()}};a.preInit();return a}();
View
2  src/skel-noscript.css
@@ -1,4 +1,4 @@
-/* skelJS v0.4.4-dev | (c) n33 | skeljs.org | MIT licensed */
+/* skelJS v0.4.4 | (c) n33 | skeljs.org | MIT licensed */
/*
View
2  src/skel-panels.js
@@ -1,4 +1,4 @@
-/* skelJS v0.4.4-dev | (c) n33 | skeljs.org | MIT licensed */
+/* skelJS v0.4.4 | (c) n33 | skeljs.org | MIT licensed */
/*
View
2  src/skel.js
@@ -1,4 +1,4 @@
-/* skelJS v0.4.4-dev | (c) n33 | skeljs.org | MIT licensed */
+/* skelJS v0.4.4 | (c) n33 | skeljs.org | MIT licensed */
/*
Please sign in to comment.
Something went wrong with that request. Please try again.