Comparing version 2.0.44 to 2.0.46
{ | ||
"name": "gridle", | ||
"version": "2.0.44", | ||
"version": "2.0.46", | ||
"authors": [ | ||
@@ -5,0 +5,0 @@ "Olivier Bossel <olivier.bossel@gmail.com>" |
@@ -39,2 +39,27 @@ ## Setup | ||
### Init your grid | ||
If you use the grid with the gridle_generate_classes mixin only, this is not for you. | ||
When you use gridle with the mixins, you have to init it in order to avoid some potential issues with libsass (sorry it's not me who's in charge of this project...). | ||
To do that, it's really simple. You have to call the gridle_init() mixin **AFTER** the section where you have all your gridle setup kind of mixins (this includes gridle_setup, gridle_register_states, etc...) and **BEFORE** you call any gridle mixins that generate css output like gridle, gridle_container, etc... | ||
```scss | ||
// your gridle setup section : | ||
@include gridle_setup(()); | ||
@include gridle_register_state(mobile, ...); | ||
@include gridle_register_state(tablet, ...); | ||
@include gridle_extend_base_class(...); | ||
@include gridle_apply_css_for(...); | ||
// init the grid here! | ||
@include gridle_init(); | ||
// then use your grid as normal | ||
.coco { | ||
@include gridle(4 push 2); | ||
} | ||
// etc... | ||
``` | ||
### Choose a driver | ||
@@ -41,0 +66,0 @@ |
@@ -549,3 +549,3 @@ ## Mixins | ||
gutter : {sides}, | ||
no_gutter : {sides} | ||
no-gutter : {sides} | ||
) ); | ||
@@ -552,0 +552,0 @@ |
## Changelog | ||
### 2.0.45 | ||
#### No gutter in gridle set | ||
Fix the no-gutter in gridle set documentation that was refering to no_gutter and not no-gutter | ||
#### "Apply css for" in non generate phase | ||
Fix the call to apply_css_for in non generate phase that was at the base of some issues like not applying the state gutter when using the mixins only, etc... | ||
### 2.0.44 | ||
@@ -4,0 +14,0 @@ |
@@ -1,1 +0,1 @@ | ||
window.matchMedia||(window.matchMedia=function(){"use strict";var a=window.styleMedia||window.media;if(!a){var b=document.createElement("style"),c=document.getElementsByTagName("script")[0],d=null;b.type="text/css",b.id="matchmediajs-test",c.parentNode.insertBefore(b,c),d="getComputedStyle"in window&&window.getComputedStyle(b,null)||b.currentStyle,a={matchMedium:function(a){var c="@media "+a+"{ #matchmediajs-test { width: 1px; } }";return b.styleSheet?b.styleSheet.cssText=c:b.textContent=c,"1px"===d.width}}}return function(b){return{matches:a.matchMedium(b||"all"),media:b||"all"}}}()),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a,b,c;return b={convert:function(a,b){return b={},a.on=function(c,d){return(b[c]=b[c]||[]).push(d),a},a.emit=function(c){var d,e,f,g;if(b[c]){for(g=b[c],e=0,f=g.length;f>e;e++)d=g[e],d.apply(a,Array.prototype.slice.call(arguments,1));return a}},a}},window.Gridle={_inited:!1,_isReady:!1,_statesInCss:null,_statesFindedInCss:!1,_cssSettings:[],_states:[],_activeStates:[],_activeStatesNames:[],_inactiveStates:[],_inactiveStatesNames:[],_updatedStates:[],_updatedStatesNames:[],resizeTimeout:null,_settings:{onUpdate:null,debug:null},init:function(b){var c,d;return this._inited=!0,null!=b&&(this._settings=b),b&&null!=b.debug&&(null!=(c=this._settings.debug)||b.debug),b&&null!=b.onStatesChange&&(null!=(d=this._settings.onStatesChange)||b.onStatesChange),this._debug("waiting for content to be fully loaded"),a(function(a){return function(){return a._parseCss()}}(this))},_parseCss:function(){var a,b,c,d,e,f,g,h;for(b=0,d=document.styleSheets.length,h=!1;d>b;){try{if(f=document.styleSheets[b].cssText||document.styleSheets[b].cssRules||document.styleSheets[b].rules,"string"==typeof f)g=f.match(/#gridle-settings(?:\s*)\{(?:\s*)content(?:\s*):(?:\s*)\"(.+)\"(;\s*|\s*)\}/)&&RegExp.$1,g&&(g=g.toString().replace(/\\/g,""),g=JSON.parse(g),this._cssSettings=g,h=!0,this._cssSettings=g,this._statesInCss=g.states);else for(c in f)e=f[c],/#gridle-settings/.test(e.cssText)&&(g=e.cssText.toString().match(/:(.*);/)&&RegExp.$1,g=g.toString().replace(/\\/g,""),g=g.trim(),g=g.substr(1),g=g.substr(0,g.length-1),g=JSON.parse(g),null!=(null!=g?g.states:void 0))&&(this._cssSettings=g,this._statesInCss=g.states,h=!0)}catch(i){if(a=i,"SecurityError"!==a.name)throw a}b++}return this._statesInCss?this._processFindedStates():this._debug("no states found...")},_processFindedStates:function(){var a,b,c;this._debug("begin process finded states in css"),c=this._statesInCss;for(a in c)b=c[a],this._registerState(a,b);return this._launch()},_launch:function(){return this._debug("launch"),this._isReady=!0,this._crossEmit("ready"),this._addEvent(window,"resize",function(a){return function(){return clearTimeout(a.resizeTimeout),a.resizeTimeout=setTimeout(function(){return a._onResize()},100)}}(this)),this._onResize()},_onResize:function(){var a;return a=[],this._updateStatesStatus(),this.getActiveStatesNames().length&&this._debug("active states",this.getActiveStatesNames().join(",")),this.getInactiveStatesNames().length&&this._debug("inactive states",this.getInactiveStatesNames().join(",")),this.getUpdatedStatesNames().length?this._debug("updated states",this.getUpdatedStatesNames().join(",")):void 0},_registerState:function(a,b,c){var d;return d={name:a,query:b.query,settings:b,status:null,previous_status:null,updateOnResize:null!=c?c:!0},this._states.push(d),this._debug("|--- register state",a,d)},_updateStatesStatus:function(){var a,b,c,d,e,f;a=this.getDefaultState(),b=this._states.indexOf(a),e=a.status,this._activeStates=[],this._activeStatesNames=[],this._inactiveStates=[],this._inactiveStatesNames=[],this._updatedStates=[],this._updatedStatesNames=[],f=this._states;for(c in f)d=f[c],d.updateOnResize&&(this._states[c].previous_status=d.status,this._validateState(d)?(this._states[c].status||(this._updatedStates.push(d),this._updatedStatesNames.push(d.name)),this._states[c].status=!0,this._activeStates.push(d),this._activeStatesNames.push(d.name)):"default"!==d.name&&(this._states[c].status&&(this._updatedStates.push(d),this._updatedStatesNames.push(d.name)),this._states[c].status=!1,this._inactiveStates.push(d),this._inactiveStatesNames.push(d.name)));return this._activeStates.length?(this._states[b].status=!1,this._inactiveStates.push(a),this._inactiveStatesNames.push("default"),e&&(this._updatedStates.push(a),this._updatedStatesNames.push("default"))):(this._states[b].status=!0,this._activeStates.push(a),this._activeStatesNames.push("default"),e||(this._updatedStates.push(a),this._updatedStatesNames.push("default"))),this._updatedStates.length&&this._crossEmit("update",this._updatedStates,this._activeStates,this._inactiveStates),this._updatedStates.length&&this._settings.onUpdate?this._settings.onUpdate(this._updatedStates,this._activeStates,this._inactiveStates):void 0},_validateState:function(){return function(a){return matchMedia(a.query).matches}}(this),_addEvent:function(a,b,c){return a?a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c:!1},_crossEmit:function(a){return"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery(this).trigger(a,Array.prototype.slice.call(arguments,1)),jQuery("body").trigger("gridle."+a,Array.prototype.slice.call(arguments,1))),this.emit.apply(this,arguments)},_ajax:function(a){var b,c;return b={type:a.type||"GET",url:a.url,success:a.success,error:a.error,dataType:a.dataType||"text",context:a.context},c=new XMLHttpRequest,b.context&&(c.context=b.context),c.open(b.type,b.url,!0),c.onreadystatechange=function(){var a;if(4!==c.readyState)return!1;switch(c.status){case 200:switch(b.dataType){case"json":a=JSON.parse(c.responseText);break;default:a=c.responseText}if(b.success)return b.success(a,c.status,c)}},c.send()},getDefaultState:function(){var a,b,c,d;for(d=this.getRegisteredStates(),b=0,c=d.length;c>b;b++)if(a=d[b],"default"===a.name)return a},getRegisteredStates:function(){return this._states},getUpdatedStates:function(){return this._updatedStates},getUpdatedStatesNames:function(){return this._updatedStatesNames},getActiveStates:function(){return this._activeStates},getActiveStatesNames:function(){return this._activeStatesNames},getInactiveStates:function(){return this._inactiveStates},getInactiveStatesNames:function(){return this._inactiveStatesNames},isActive:function(a){var b,c,d,e;c=!1,e=this._activeStatesNames;for(b in e)d=e[b],a===d&&(c=!0);return c},isReady:function(){return this._isReady},_debug:function(){return this._settings.debug?console.log("GRIDLE",arguments):void 0}},c=!1,a=function(a){var b;return b=function(a){return c?void a():void 0},window.addEventListener?window.addEventListener("load",function(){return function(){return c=!0,a()}}(this),!1):window.attachEvent("onload",function(){return function(){return c=!0,a()}}(this)),b(function(){return function(){return a()}}(this))},b.convert(window.Gridle),a(function(){return setTimeout(function(){return Gridle._inited?void 0:Gridle.init()},500)}),"function"==typeof window.define&&window.define.amd&&window.define([],function(){return window.Gridle}),Gridle}),function(){this.ResizeSensor=function(a,b){function c(){this.q=[],this.add=function(a){this.q.push(a)};var a,b;this.call=function(){for(a=0,b=this.q.length;b>a;a++)this.q[a].call()}}function d(a,b){return a.currentStyle?a.currentStyle[b]:window.getComputedStyle?window.getComputedStyle(a,null).getPropertyValue(b):a.style[b]}function e(a,b){if(a.resizedAttached){if(a.resizedAttached)return void a.resizedAttached.add(b)}else a.resizedAttached=new c,a.resizedAttached.add(b);a.resizeSensor=document.createElement("div"),a.resizeSensor.className="resize-sensor";var e="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",f="position: absolute; left: 0; top: 0;";a.resizeSensor.style.cssText=e,a.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+e+'"><div style="'+f+'"></div></div><div class="resize-sensor-shrink" style="'+e+'"><div style="'+f+' width: 200%; height: 200%"></div></div>',a.appendChild(a.resizeSensor),{fixed:1,absolute:1}[d(a,"position")]||(a.style.position="relative");var g,h,i=a.resizeSensor.childNodes[0],j=i.childNodes[0],k=a.resizeSensor.childNodes[1],l=(k.childNodes[0],function(){j.style.width=i.offsetWidth+10+"px",j.style.height=i.offsetHeight+10+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,k.scrollLeft=k.scrollWidth,k.scrollTop=k.scrollHeight,g=a.offsetWidth,h=a.offsetHeight});l();var m=function(){a.resizedAttached&&a.resizedAttached.call()},n=function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c)};n(i,"scroll",function(){(a.offsetWidth>g||a.offsetHeight>h)&&m(),l()}),n(k,"scroll",function(){(a.offsetWidth<g||a.offsetHeight<h)&&m(),l()})}if("[object Array]"===Object.prototype.toString.call(a)||"undefined"!=typeof jQuery&&a instanceof jQuery||"undefined"!=typeof Elements&&a instanceof Elements)for(var f=0,g=a.length;g>f;f++)e(a[f],b);else e(a,b);this.detach=function(){ResizeSensor.detach(a)}},this.ResizeSensor.detach=function(a){a.resizeSensor&&(a.removeChild(a.resizeSensor),delete a.resizeSensor,delete a.resizedAttached)}}(),function(){var a=this.ElementQueries=function(){function b(a){a||(a=document.documentElement);var b=getComputedStyle(a,"fontSize");return parseFloat(b)||16}function c(a,c){var d=c.replace(/[0-9]*/,"");switch(c=parseFloat(c),d){case"px":return c;case"em":return c*b(a);case"rem":return c*b();case"vw":return c*document.documentElement.clientWidth/100;case"vh":return c*document.documentElement.clientHeight/100;case"vmin":case"vmax":var e=document.documentElement.clientWidth/100,f=document.documentElement.clientHeight/100,g=Math["vmin"===d?"min":"max"];return c*g(e,f);default:return c}}function d(a){this.element=a,this.options={};var b,d,e,f,g,h,i,j=0,k=0;this.addOption=function(a){var b=[a.mode,a.property,a.value].join(",");this.options[b]=a};var l=["min-width","min-height","max-width","max-height"];this.call=function(){j=this.element.offsetWidth,k=this.element.offsetHeight,g={};for(b in this.options)this.options.hasOwnProperty(b)&&(d=this.options[b],e=c(this.element,d.value),f="width"==d.property?j:k,i=d.mode+"-"+d.property,h="","min"==d.mode&&f>=e&&(h+=d.value),"max"==d.mode&&e>=f&&(h+=d.value),g[i]||(g[i]=""),h&&-1===(" "+g[i]+" ").indexOf(" "+h+" ")&&(g[i]+=" "+h));for(var a in l)g[l[a]]?this.element.setAttribute(l[a],g[l[a]].substr(1)):this.element.removeAttribute(l[a])}}function e(a,b){a.elementQueriesSetupInformation?a.elementQueriesSetupInformation.addOption(b):(a.elementQueriesSetupInformation=new d(a),a.elementQueriesSetupInformation.addOption(b),a.elementQueriesSensor=new ResizeSensor(a,function(){a.elementQueriesSetupInformation.call()})),a.elementQueriesSetupInformation.call(),this.withTracking&&i.push(a)}function f(a,b,c,d){var f;if(document.querySelectorAll&&(f=document.querySelectorAll.bind(document)),f||"undefined"==typeof $$||(f=$$),f||"undefined"==typeof jQuery||(f=jQuery),!f)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";for(var g=f(a),h=0,i=g.length;i>h;h++)e(g[h],{mode:b,property:c,value:d})}function g(a){var b;for(a=a.replace(/'/g,'"');null!==(b=j.exec(a));)5<b.length&&f(b[1]||b[5],b[2],b[3],b[4])}function h(a){var b="";if(a)if("string"==typeof a)a=a.toLowerCase(),(-1!==a.indexOf("min-width")||-1!==a.indexOf("max-width"))&&g(a);else for(var c=0,d=a.length;d>c;c++)1===a[c].type?(b=a[c].selectorText||a[c].cssText,-1!==b.indexOf("min-height")||-1!==b.indexOf("max-height")?g(b):(-1!==b.indexOf("min-width")||-1!==b.indexOf("max-width"))&&g(b)):4===a[c].type&&h(a[c].cssRules||a[c].rules)}this.withTracking=!1;var i=[],j=/,?([^,\n]*)\[[\s\t]*(min|max)-(width|height)[\s\t]*[~$\^]?=[\s\t]*"([^"]*)"[\s\t]*]([^\n\s\{]*)/gim;this.init=function(a){this.withTracking=a;for(var b=0,c=document.styleSheets.length;c>b;b++)try{h(document.styleSheets[b].cssText||document.styleSheets[b].cssRules||document.styleSheets[b].rules)}catch(d){if("SecurityError"!==d.name)throw d}},this.update=function(a){this.withTracking=a,this.init()},this.detach=function(){if(!this.withTracking)throw"withTracking is not enabled. We can not detach elements since we don not store it.Use ElementQueries.withTracking = true; before domready.";for(var b;b=i.pop();)a.detach(b);i=[]}};a.update=function(b){a.instance.update(b)},a.detach=function(a){a.elementQueriesSetupInformation?(a.elementQueriesSensor.detach(),delete a.elementQueriesSetupInformation,delete a.elementQueriesSensor,console.log("detached")):console.log("detached already",a)},a.withTracking=!1,a.init=function(){a.instance||(a.instance=new a),a.instance.init(a.withTracking)};var b=function(a){if(document.addEventListener&&document.addEventListener("DOMContentLoaded",a,!1),/KHTML|WebKit|iCab/i.test(navigator.userAgent))var b=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(a(),clearInterval(b))},10);window.onload=a};window.addEventListener?window.addEventListener("load",a.init,!1):window.attachEvent("onload",a.init),b(a.init)}(),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a;return a=function(){function a(){var a;a=new ElementQueries,a.init()}return a.prototype.update=function(){return ElementQueries.update()},a}(),window.GridleEq=new a}); | ||
window.matchMedia||(window.matchMedia=function(){"use strict";var a=window.styleMedia||window.media;if(!a){var b=document.createElement("style"),c=document.getElementsByTagName("script")[0],d=null;b.type="text/css",b.id="matchmediajs-test",c.parentNode.insertBefore(b,c),d="getComputedStyle"in window&&window.getComputedStyle(b,null)||b.currentStyle,a={matchMedium:function(a){var c="@media "+a+"{ #matchmediajs-test { width: 1px; } }";return b.styleSheet?b.styleSheet.cssText=c:b.textContent=c,"1px"===d.width}}}return function(b){return{matches:a.matchMedium(b||"all"),media:b||"all"}}}()),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a,b,c;return c={convert:function(a,b){return b={},a.on=function(c,d){return(b[c]=b[c]||[]).push(d),a},a.emit=function(c){var d,e,f,g;if(b[c]){for(g=b[c],e=0,f=g.length;f>e;e++)d=g[e],d.apply(a,Array.prototype.slice.call(arguments,1));return a}},a}},window.Gridle={_inited:!1,_isReady:!1,_statesInCss:null,_statesFindedInCss:!1,_cssSettings:[],_states:[],_activeStates:[],_activeStatesNames:[],_inactiveStates:[],_inactiveStatesNames:[],_updatedStates:[],_updatedStatesNames:[],resizeTimeout:null,_settings:{onUpdate:null,debug:null,ignoredStates:[]},init:function(a){var c;return this._inited=!0,null!=(null!=a?a.ignoredStates:void 0)&&(c=a.ignoredStates.indexOf("default"))>-1&&a.ignoredStates.splice(c,1),a&&(this._settings=this._extend(this._settings,a)),this._debug("waiting for content to be fully loaded"),b(function(a){return function(){return a._parseCss()}}(this))},_extend:function(a,b){var c,d;for(c in b)d=b[c],a[c]=d;return a},_parseCss:function(){var a,b,c,d,e,f,g,h,i;for(c=0,e=document.styleSheets.length,i=!1;e>c;){try{if(g=document.styleSheets[c].cssText||document.styleSheets[c].cssRules||document.styleSheets[c].rules,"string"==typeof g)h=g.match(/#gridle-settings(?:\s*)\{(?:\s*)content(?:\s*):(?:\s*)\"(.+)\"(;\s*|\s*)\}/)&&RegExp.$1,h&&(h=h.toString().replace(/\\/g,""),h=JSON.parse(h),this._cssSettings=h,i=!0,this._cssSettings=h,this._statesInCss=h.states);else for(d in g)f=g[d],/#gridle-settings/.test(f.cssText)&&(h=f.cssText.toString().match(/:(.*);/)&&RegExp.$1,h=h.toString().replace(/\\/g,""),h=h.trim(),h=h.substr(1),h=h.substr(0,h.length-1),h=JSON.parse(h),null!=(null!=h?h.states:void 0))&&(this._cssSettings=h,this._statesInCss=h.states,i=!0)}catch(b){if(a=b,"SecurityError"!==a.name)throw a}c++}return this._statesInCss?this._processFindedStates():this._debug("no states found...")},_processFindedStates:function(){var a,b,c;this._debug("begin process finded states in css"),c=this._statesInCss;for(a in c)b=c[a],-1===this._settings.ignoredStates.indexOf(a)&&this._registerState(a,b);return this._launch()},_launch:function(){return this._debug("launch"),this._isReady=!0,this._crossEmit("ready"),this._addEvent(window,"resize",function(a){return function(b){return clearTimeout(a.resizeTimeout),a.resizeTimeout=setTimeout(function(){return a._onResize()},100)}}(this)),this._onResize()},_onResize:function(){var a;return a=[],this._updateStatesStatus(),this.getActiveStatesNames().length&&this._debug("active states",this.getActiveStatesNames().join(",")),this.getInactiveStatesNames().length&&this._debug("inactive states",this.getInactiveStatesNames().join(",")),this.getUpdatedStatesNames().length?this._debug("updated states",this.getUpdatedStatesNames().join(",")):void 0},_registerState:function(a,b,c){var d;return d={name:a,query:b.query,settings:b,status:null,previous_status:null,updateOnResize:null!=c?c:!0},this._states.push(d),this._debug("|--- register state",a,d)},_updateStatesStatus:function(){var a,b,c,d,e,f;a=this.getDefaultState(),b=this._states.indexOf(a),f=a.status,this._activeStates=[],this._activeStatesNames=[],this._inactiveStates=[],this._inactiveStatesNames=[],this._updatedStates=[],this._updatedStatesNames=[],d=this._states;for(c in d)e=d[c],e.updateOnResize&&(this._states[c].previous_status=e.status,this._validateState(e)?(this._states[c].status||(this._updatedStates.push(e),this._updatedStatesNames.push(e.name)),this._states[c].status=!0,this._activeStates.push(e),this._activeStatesNames.push(e.name)):"default"!==e.name&&(this._states[c].status&&(this._updatedStates.push(e),this._updatedStatesNames.push(e.name)),this._states[c].status=!1,this._inactiveStates.push(e),this._inactiveStatesNames.push(e.name)));return this._activeStates.length?(this._states[b].status=!1,this._inactiveStates.push(a),this._inactiveStatesNames.push("default"),f&&(this._updatedStates.push(a),this._updatedStatesNames.push("default"))):(this._states[b].status=!0,this._activeStates.push(a),this._activeStatesNames.push("default"),f||(this._updatedStates.push(a),this._updatedStatesNames.push("default"))),this._updatedStates.length&&this._crossEmit("update",this._updatedStates,this._activeStates,this._inactiveStates),this._updatedStates.length&&this._settings.onUpdate?this._settings.onUpdate(this._updatedStates,this._activeStates,this._inactiveStates):void 0},_validateState:function(a){return function(a){return matchMedia(a.query).matches}}(this),_addEvent:function(a,b,c){return a?a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c:!1},_crossEmit:function(a){return"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery(this).trigger(a,Array.prototype.slice.call(arguments,1)),jQuery("body").trigger("gridle."+a,Array.prototype.slice.call(arguments,1))),this.emit.apply(this,arguments)},_ajax:function(a){var b,c;return b={type:a.type||"GET",url:a.url,success:a.success,error:a.error,dataType:a.dataType||"text",context:a.context},c=new XMLHttpRequest,b.context&&(c.context=b.context),c.open(b.type,b.url,!0),c.onreadystatechange=function(){var a;if(4!==c.readyState)return!1;switch(c.status){case 200:switch(b.dataType){case"json":a=JSON.parse(c.responseText);break;default:a=c.responseText}if(b.success)return b.success(a,c.status,c)}},c.send()},getDefaultState:function(){var a,b,c,d;for(c=this.getRegisteredStates(),a=0,b=c.length;b>a;a++)if(d=c[a],"default"===d.name)return d},getRegisteredStates:function(){return this._states},getUpdatedStates:function(){return this._updatedStates},getUpdatedStatesNames:function(){return this._updatedStatesNames},getActiveStates:function(){return this._activeStates},getActiveStatesNames:function(){return this._activeStatesNames},getInactiveStates:function(){return this._inactiveStates},getInactiveStatesNames:function(){return this._inactiveStatesNames},isActive:function(a){var b,c,d,e;c=!1,e=this._activeStatesNames;for(b in e)d=e[b],a===d&&(c=!0);return c},isReady:function(){return this._isReady},_debug:function(){return this._settings.debug?console.log("GRIDLE",arguments):void 0}},a=!1,b=function(b){var c;return c=function(b){return a?void b():"complete"===document.readyState?(a=!0,void b()):void 0},window.addEventListener?window.addEventListener("load",function(c){return function(){return a=!0,b()}}(this),!1):window.attachEvent("onload",function(c){return function(){return a=!0,b()}}(this)),c(function(a){return function(){return b()}}(this))},c.convert(window.Gridle),b(function(){return setTimeout(function(){return Gridle._inited?void 0:Gridle.init()},500)}),Gridle}),function(){this.ResizeSensor=function(a,b){function c(){this.q=[],this.add=function(a){this.q.push(a)};var a,b;this.call=function(){for(a=0,b=this.q.length;b>a;a++)this.q[a].call()}}function d(a,b){return a.currentStyle?a.currentStyle[b]:window.getComputedStyle?window.getComputedStyle(a,null).getPropertyValue(b):a.style[b]}function e(a,b){if(a.resizedAttached){if(a.resizedAttached)return void a.resizedAttached.add(b)}else a.resizedAttached=new c,a.resizedAttached.add(b);a.resizeSensor=document.createElement("div"),a.resizeSensor.className="resize-sensor";var e="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",f="position: absolute; left: 0; top: 0;";a.resizeSensor.style.cssText=e,a.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+e+'"><div style="'+f+'"></div></div><div class="resize-sensor-shrink" style="'+e+'"><div style="'+f+' width: 200%; height: 200%"></div></div>',a.appendChild(a.resizeSensor),{fixed:1,absolute:1}[d(a,"position")]||(a.style.position="relative");var g,h,i=a.resizeSensor.childNodes[0],j=i.childNodes[0],k=a.resizeSensor.childNodes[1],l=(k.childNodes[0],function(){j.style.width=i.offsetWidth+10+"px",j.style.height=i.offsetHeight+10+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,k.scrollLeft=k.scrollWidth,k.scrollTop=k.scrollHeight,g=a.offsetWidth,h=a.offsetHeight});l();var m=function(){a.resizedAttached&&a.resizedAttached.call()},n=function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c)};n(i,"scroll",function(){(a.offsetWidth>g||a.offsetHeight>h)&&m(),l()}),n(k,"scroll",function(){(a.offsetWidth<g||a.offsetHeight<h)&&m(),l()})}if("[object Array]"===Object.prototype.toString.call(a)||"undefined"!=typeof jQuery&&a instanceof jQuery||"undefined"!=typeof Elements&&a instanceof Elements)for(var f=0,g=a.length;g>f;f++)e(a[f],b);else e(a,b);this.detach=function(){ResizeSensor.detach(a)}},this.ResizeSensor.detach=function(a){a.resizeSensor&&(a.removeChild(a.resizeSensor),delete a.resizeSensor,delete a.resizedAttached)}}(),function(){var a=this.ElementQueries=function(){function b(a){a||(a=document.documentElement);var b=getComputedStyle(a,"fontSize");return parseFloat(b)||16}function c(a,c){var d=c.replace(/[0-9]*/,"");switch(c=parseFloat(c),d){case"px":return c;case"em":return c*b(a);case"rem":return c*b();case"vw":return c*document.documentElement.clientWidth/100;case"vh":return c*document.documentElement.clientHeight/100;case"vmin":case"vmax":var e=document.documentElement.clientWidth/100,f=document.documentElement.clientHeight/100,g=Math["vmin"===d?"min":"max"];return c*g(e,f);default:return c}}function d(a){this.element=a,this.options={};var b,d,e,f,g,h,i,j=0,k=0;this.addOption=function(a){var b=[a.mode,a.property,a.value].join(",");this.options[b]=a};var l=["min-width","min-height","max-width","max-height"];this.call=function(){j=this.element.offsetWidth,k=this.element.offsetHeight,g={};for(b in this.options)this.options.hasOwnProperty(b)&&(d=this.options[b],e=c(this.element,d.value),f="width"==d.property?j:k,i=d.mode+"-"+d.property,h="","min"==d.mode&&f>=e&&(h+=d.value),"max"==d.mode&&e>=f&&(h+=d.value),g[i]||(g[i]=""),h&&-1===(" "+g[i]+" ").indexOf(" "+h+" ")&&(g[i]+=" "+h));for(var a in l)g[l[a]]?this.element.setAttribute(l[a],g[l[a]].substr(1)):this.element.removeAttribute(l[a])}}function e(a,b){a.elementQueriesSetupInformation?a.elementQueriesSetupInformation.addOption(b):(a.elementQueriesSetupInformation=new d(a),a.elementQueriesSetupInformation.addOption(b),a.elementQueriesSensor=new ResizeSensor(a,function(){a.elementQueriesSetupInformation.call()})),a.elementQueriesSetupInformation.call(),this.withTracking&&i.push(a)}function f(a,b,c,d){var f;if(document.querySelectorAll&&(f=document.querySelectorAll.bind(document)),f||"undefined"==typeof $$||(f=$$),f||"undefined"==typeof jQuery||(f=jQuery),!f)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";for(var g=f(a),h=0,i=g.length;i>h;h++)e(g[h],{mode:b,property:c,value:d})}function g(a){var b;for(a=a.replace(/'/g,'"');null!==(b=j.exec(a));)5<b.length&&f(b[1]||b[5],b[2],b[3],b[4])}function h(a){var b="";if(a)if("string"==typeof a)a=a.toLowerCase(),-1===a.indexOf("min-width")&&-1===a.indexOf("max-width")||g(a);else for(var c=0,d=a.length;d>c;c++)1===a[c].type?(b=a[c].selectorText||a[c].cssText,-1!==b.indexOf("min-height")||-1!==b.indexOf("max-height")?g(b):-1===b.indexOf("min-width")&&-1===b.indexOf("max-width")||g(b)):4===a[c].type&&h(a[c].cssRules||a[c].rules)}this.withTracking=!1;var i=[],j=/,?([^,\n]*)\[[\s\t]*(min|max)-(width|height)[\s\t]*[~$\^]?=[\s\t]*"([^"]*)"[\s\t]*]([^\n\s\{]*)/gim;this.init=function(a){this.withTracking=a;for(var b=0,c=document.styleSheets.length;c>b;b++)try{h(document.styleSheets[b].cssText||document.styleSheets[b].cssRules||document.styleSheets[b].rules)}catch(d){if("SecurityError"!==d.name)throw d}},this.update=function(a){this.withTracking=a,this.init()},this.detach=function(){if(!this.withTracking)throw"withTracking is not enabled. We can not detach elements since we don not store it.Use ElementQueries.withTracking = true; before domready.";for(var b;b=i.pop();)a.detach(b);i=[]}};a.update=function(b){a.instance.update(b)},a.detach=function(a){a.elementQueriesSetupInformation?(a.elementQueriesSensor.detach(),delete a.elementQueriesSetupInformation,delete a.elementQueriesSensor,console.log("detached")):console.log("detached already",a)},a.withTracking=!1,a.init=function(){a.instance||(a.instance=new a),a.instance.init(a.withTracking)};var b=function(a){if(document.addEventListener&&document.addEventListener("DOMContentLoaded",a,!1),/KHTML|WebKit|iCab/i.test(navigator.userAgent))var b=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(a(),clearInterval(b))},10);window.onload=a};window.addEventListener?window.addEventListener("load",a.init,!1):window.attachEvent("onload",a.init),b(a.init)}(),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a;return a=function(){function a(){var a;a=new ElementQueries,a.init()}return a.prototype.update=function(){return ElementQueries.update()},a}(),window.GridleEq=new a}); |
@@ -1,1 +0,1 @@ | ||
!function(){this.ResizeSensor=function(a,b){function c(){this.q=[],this.add=function(a){this.q.push(a)};var a,b;this.call=function(){for(a=0,b=this.q.length;b>a;a++)this.q[a].call()}}function d(a,b){return a.currentStyle?a.currentStyle[b]:window.getComputedStyle?window.getComputedStyle(a,null).getPropertyValue(b):a.style[b]}function e(a,b){if(a.resizedAttached){if(a.resizedAttached)return void a.resizedAttached.add(b)}else a.resizedAttached=new c,a.resizedAttached.add(b);a.resizeSensor=document.createElement("div"),a.resizeSensor.className="resize-sensor";var e="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",f="position: absolute; left: 0; top: 0;";a.resizeSensor.style.cssText=e,a.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+e+'"><div style="'+f+'"></div></div><div class="resize-sensor-shrink" style="'+e+'"><div style="'+f+' width: 200%; height: 200%"></div></div>',a.appendChild(a.resizeSensor),{fixed:1,absolute:1}[d(a,"position")]||(a.style.position="relative");var g,h,i=a.resizeSensor.childNodes[0],j=i.childNodes[0],k=a.resizeSensor.childNodes[1],l=(k.childNodes[0],function(){j.style.width=i.offsetWidth+10+"px",j.style.height=i.offsetHeight+10+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,k.scrollLeft=k.scrollWidth,k.scrollTop=k.scrollHeight,g=a.offsetWidth,h=a.offsetHeight});l();var m=function(){a.resizedAttached&&a.resizedAttached.call()},n=function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c)};n(i,"scroll",function(){(a.offsetWidth>g||a.offsetHeight>h)&&m(),l()}),n(k,"scroll",function(){(a.offsetWidth<g||a.offsetHeight<h)&&m(),l()})}if("[object Array]"===Object.prototype.toString.call(a)||"undefined"!=typeof jQuery&&a instanceof jQuery||"undefined"!=typeof Elements&&a instanceof Elements)for(var f=0,g=a.length;g>f;f++)e(a[f],b);else e(a,b);this.detach=function(){ResizeSensor.detach(a)}},this.ResizeSensor.detach=function(a){a.resizeSensor&&(a.removeChild(a.resizeSensor),delete a.resizeSensor,delete a.resizedAttached)}}(),function(){var a=this.ElementQueries=function(){function b(a){a||(a=document.documentElement);var b=getComputedStyle(a,"fontSize");return parseFloat(b)||16}function c(a,c){var d=c.replace(/[0-9]*/,"");switch(c=parseFloat(c),d){case"px":return c;case"em":return c*b(a);case"rem":return c*b();case"vw":return c*document.documentElement.clientWidth/100;case"vh":return c*document.documentElement.clientHeight/100;case"vmin":case"vmax":var e=document.documentElement.clientWidth/100,f=document.documentElement.clientHeight/100,g=Math["vmin"===d?"min":"max"];return c*g(e,f);default:return c}}function d(a){this.element=a,this.options={};var b,d,e,f,g,h,i,j=0,k=0;this.addOption=function(a){var b=[a.mode,a.property,a.value].join(",");this.options[b]=a};var l=["min-width","min-height","max-width","max-height"];this.call=function(){j=this.element.offsetWidth,k=this.element.offsetHeight,g={};for(b in this.options)this.options.hasOwnProperty(b)&&(d=this.options[b],e=c(this.element,d.value),f="width"==d.property?j:k,i=d.mode+"-"+d.property,h="","min"==d.mode&&f>=e&&(h+=d.value),"max"==d.mode&&e>=f&&(h+=d.value),g[i]||(g[i]=""),h&&-1===(" "+g[i]+" ").indexOf(" "+h+" ")&&(g[i]+=" "+h));for(var a in l)g[l[a]]?this.element.setAttribute(l[a],g[l[a]].substr(1)):this.element.removeAttribute(l[a])}}function e(a,b){a.elementQueriesSetupInformation?a.elementQueriesSetupInformation.addOption(b):(a.elementQueriesSetupInformation=new d(a),a.elementQueriesSetupInformation.addOption(b),a.elementQueriesSensor=new ResizeSensor(a,function(){a.elementQueriesSetupInformation.call()})),a.elementQueriesSetupInformation.call(),this.withTracking&&i.push(a)}function f(a,b,c,d){var f;if(document.querySelectorAll&&(f=document.querySelectorAll.bind(document)),f||"undefined"==typeof $$||(f=$$),f||"undefined"==typeof jQuery||(f=jQuery),!f)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";for(var g=f(a),h=0,i=g.length;i>h;h++)e(g[h],{mode:b,property:c,value:d})}function g(a){var b;for(a=a.replace(/'/g,'"');null!==(b=j.exec(a));)5<b.length&&f(b[1]||b[5],b[2],b[3],b[4])}function h(a){var b="";if(a)if("string"==typeof a)a=a.toLowerCase(),(-1!==a.indexOf("min-width")||-1!==a.indexOf("max-width"))&&g(a);else for(var c=0,d=a.length;d>c;c++)1===a[c].type?(b=a[c].selectorText||a[c].cssText,-1!==b.indexOf("min-height")||-1!==b.indexOf("max-height")?g(b):(-1!==b.indexOf("min-width")||-1!==b.indexOf("max-width"))&&g(b)):4===a[c].type&&h(a[c].cssRules||a[c].rules)}this.withTracking=!1;var i=[],j=/,?([^,\n]*)\[[\s\t]*(min|max)-(width|height)[\s\t]*[~$\^]?=[\s\t]*"([^"]*)"[\s\t]*]([^\n\s\{]*)/gim;this.init=function(a){this.withTracking=a;for(var b=0,c=document.styleSheets.length;c>b;b++)try{h(document.styleSheets[b].cssText||document.styleSheets[b].cssRules||document.styleSheets[b].rules)}catch(d){if("SecurityError"!==d.name)throw d}},this.update=function(a){this.withTracking=a,this.init()},this.detach=function(){if(!this.withTracking)throw"withTracking is not enabled. We can not detach elements since we don not store it.Use ElementQueries.withTracking = true; before domready.";for(var b;b=i.pop();)a.detach(b);i=[]}};a.update=function(b){a.instance.update(b)},a.detach=function(a){a.elementQueriesSetupInformation?(a.elementQueriesSensor.detach(),delete a.elementQueriesSetupInformation,delete a.elementQueriesSensor,console.log("detached")):console.log("detached already",a)},a.withTracking=!1,a.init=function(){a.instance||(a.instance=new a),a.instance.init(a.withTracking)};var b=function(a){if(document.addEventListener&&document.addEventListener("DOMContentLoaded",a,!1),/KHTML|WebKit|iCab/i.test(navigator.userAgent))var b=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(a(),clearInterval(b))},10);window.onload=a};window.addEventListener?window.addEventListener("load",a.init,!1):window.attachEvent("onload",a.init),b(a.init)}(),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a;return a=function(){function a(){var a;a=new ElementQueries,a.init()}return a.prototype.update=function(){return ElementQueries.update()},a}(),window.GridleEq=new a}); | ||
!function(){this.ResizeSensor=function(a,b){function c(){this.q=[],this.add=function(a){this.q.push(a)};var a,b;this.call=function(){for(a=0,b=this.q.length;b>a;a++)this.q[a].call()}}function d(a,b){return a.currentStyle?a.currentStyle[b]:window.getComputedStyle?window.getComputedStyle(a,null).getPropertyValue(b):a.style[b]}function e(a,b){if(a.resizedAttached){if(a.resizedAttached)return void a.resizedAttached.add(b)}else a.resizedAttached=new c,a.resizedAttached.add(b);a.resizeSensor=document.createElement("div"),a.resizeSensor.className="resize-sensor";var e="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",f="position: absolute; left: 0; top: 0;";a.resizeSensor.style.cssText=e,a.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+e+'"><div style="'+f+'"></div></div><div class="resize-sensor-shrink" style="'+e+'"><div style="'+f+' width: 200%; height: 200%"></div></div>',a.appendChild(a.resizeSensor),{fixed:1,absolute:1}[d(a,"position")]||(a.style.position="relative");var g,h,i=a.resizeSensor.childNodes[0],j=i.childNodes[0],k=a.resizeSensor.childNodes[1],l=(k.childNodes[0],function(){j.style.width=i.offsetWidth+10+"px",j.style.height=i.offsetHeight+10+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,k.scrollLeft=k.scrollWidth,k.scrollTop=k.scrollHeight,g=a.offsetWidth,h=a.offsetHeight});l();var m=function(){a.resizedAttached&&a.resizedAttached.call()},n=function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c)};n(i,"scroll",function(){(a.offsetWidth>g||a.offsetHeight>h)&&m(),l()}),n(k,"scroll",function(){(a.offsetWidth<g||a.offsetHeight<h)&&m(),l()})}if("[object Array]"===Object.prototype.toString.call(a)||"undefined"!=typeof jQuery&&a instanceof jQuery||"undefined"!=typeof Elements&&a instanceof Elements)for(var f=0,g=a.length;g>f;f++)e(a[f],b);else e(a,b);this.detach=function(){ResizeSensor.detach(a)}},this.ResizeSensor.detach=function(a){a.resizeSensor&&(a.removeChild(a.resizeSensor),delete a.resizeSensor,delete a.resizedAttached)}}(),function(){var a=this.ElementQueries=function(){function b(a){a||(a=document.documentElement);var b=getComputedStyle(a,"fontSize");return parseFloat(b)||16}function c(a,c){var d=c.replace(/[0-9]*/,"");switch(c=parseFloat(c),d){case"px":return c;case"em":return c*b(a);case"rem":return c*b();case"vw":return c*document.documentElement.clientWidth/100;case"vh":return c*document.documentElement.clientHeight/100;case"vmin":case"vmax":var e=document.documentElement.clientWidth/100,f=document.documentElement.clientHeight/100,g=Math["vmin"===d?"min":"max"];return c*g(e,f);default:return c}}function d(a){this.element=a,this.options={};var b,d,e,f,g,h,i,j=0,k=0;this.addOption=function(a){var b=[a.mode,a.property,a.value].join(",");this.options[b]=a};var l=["min-width","min-height","max-width","max-height"];this.call=function(){j=this.element.offsetWidth,k=this.element.offsetHeight,g={};for(b in this.options)this.options.hasOwnProperty(b)&&(d=this.options[b],e=c(this.element,d.value),f="width"==d.property?j:k,i=d.mode+"-"+d.property,h="","min"==d.mode&&f>=e&&(h+=d.value),"max"==d.mode&&e>=f&&(h+=d.value),g[i]||(g[i]=""),h&&-1===(" "+g[i]+" ").indexOf(" "+h+" ")&&(g[i]+=" "+h));for(var a in l)g[l[a]]?this.element.setAttribute(l[a],g[l[a]].substr(1)):this.element.removeAttribute(l[a])}}function e(a,b){a.elementQueriesSetupInformation?a.elementQueriesSetupInformation.addOption(b):(a.elementQueriesSetupInformation=new d(a),a.elementQueriesSetupInformation.addOption(b),a.elementQueriesSensor=new ResizeSensor(a,function(){a.elementQueriesSetupInformation.call()})),a.elementQueriesSetupInformation.call(),this.withTracking&&i.push(a)}function f(a,b,c,d){var f;if(document.querySelectorAll&&(f=document.querySelectorAll.bind(document)),f||"undefined"==typeof $$||(f=$$),f||"undefined"==typeof jQuery||(f=jQuery),!f)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";for(var g=f(a),h=0,i=g.length;i>h;h++)e(g[h],{mode:b,property:c,value:d})}function g(a){var b;for(a=a.replace(/'/g,'"');null!==(b=j.exec(a));)5<b.length&&f(b[1]||b[5],b[2],b[3],b[4])}function h(a){var b="";if(a)if("string"==typeof a)a=a.toLowerCase(),-1===a.indexOf("min-width")&&-1===a.indexOf("max-width")||g(a);else for(var c=0,d=a.length;d>c;c++)1===a[c].type?(b=a[c].selectorText||a[c].cssText,-1!==b.indexOf("min-height")||-1!==b.indexOf("max-height")?g(b):-1===b.indexOf("min-width")&&-1===b.indexOf("max-width")||g(b)):4===a[c].type&&h(a[c].cssRules||a[c].rules)}this.withTracking=!1;var i=[],j=/,?([^,\n]*)\[[\s\t]*(min|max)-(width|height)[\s\t]*[~$\^]?=[\s\t]*"([^"]*)"[\s\t]*]([^\n\s\{]*)/gim;this.init=function(a){this.withTracking=a;for(var b=0,c=document.styleSheets.length;c>b;b++)try{h(document.styleSheets[b].cssText||document.styleSheets[b].cssRules||document.styleSheets[b].rules)}catch(d){if("SecurityError"!==d.name)throw d}},this.update=function(a){this.withTracking=a,this.init()},this.detach=function(){if(!this.withTracking)throw"withTracking is not enabled. We can not detach elements since we don not store it.Use ElementQueries.withTracking = true; before domready.";for(var b;b=i.pop();)a.detach(b);i=[]}};a.update=function(b){a.instance.update(b)},a.detach=function(a){a.elementQueriesSetupInformation?(a.elementQueriesSensor.detach(),delete a.elementQueriesSetupInformation,delete a.elementQueriesSensor,console.log("detached")):console.log("detached already",a)},a.withTracking=!1,a.init=function(){a.instance||(a.instance=new a),a.instance.init(a.withTracking)};var b=function(a){if(document.addEventListener&&document.addEventListener("DOMContentLoaded",a,!1),/KHTML|WebKit|iCab/i.test(navigator.userAgent))var b=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(a(),clearInterval(b))},10);window.onload=a};window.addEventListener?window.addEventListener("load",a.init,!1):window.attachEvent("onload",a.init),b(a.init)}(),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a;return a=function(){function a(){var a;a=new ElementQueries,a.init()}return a.prototype.update=function(){return ElementQueries.update()},a}(),window.GridleEq=new a}); |
100
js/gridle.js
@@ -52,3 +52,3 @@ /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */ | ||
* | ||
* This little js file allow you to detect witch or your gridle state is active, when states changes, etc... | ||
* This little js file allow you to detect which or your gridle state is active, when states changes, etc... | ||
* | ||
@@ -73,3 +73,3 @@ * @author Olivier Bossel <olivier.bossel@gmail.com> | ||
*/ | ||
var domLoaded, smokesignals, _domLoaded; | ||
var _domLoaded, domLoaded, smokesignals; | ||
smokesignals = { | ||
@@ -83,9 +83,9 @@ convert: function(obj, handlers) { | ||
obj.emit = function(eventName) { | ||
var handler, _i, _len, _ref; | ||
var handler, k, len, ref; | ||
if (!handlers[eventName]) { | ||
return; | ||
} | ||
_ref = handlers[eventName]; | ||
for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
handler = _ref[_i]; | ||
ref = handlers[eventName]; | ||
for (k = 0, len = ref.length; k < len; k++) { | ||
handler = ref[k]; | ||
handler.apply(obj, Array.prototype.slice.call(arguments, 1)); | ||
@@ -119,3 +119,4 @@ continue; | ||
onUpdate: null, | ||
debug: null | ||
debug: null, | ||
ignoredStates: [] | ||
}, | ||
@@ -127,21 +128,10 @@ | ||
init: function(settings) { | ||
var _ref, _ref1; | ||
var default_index; | ||
this._inited = true; | ||
if (settings != null) { | ||
this._settings = settings; | ||
if (((settings != null ? settings.ignoredStates : void 0) != null) && (default_index = settings.ignoredStates.indexOf('default')) > -1) { | ||
settings.ignoredStates.splice(default_index, 1); | ||
} | ||
if (settings && (settings.debug != null)) { | ||
if ((_ref = this._settings.debug) != null) { | ||
_ref; | ||
} else { | ||
settings.debug; | ||
}; | ||
if (settings) { | ||
this._settings = this._extend(this._settings, settings); | ||
} | ||
if (settings && (settings.onStatesChange != null)) { | ||
if ((_ref1 = this._settings.onStatesChange) != null) { | ||
_ref1; | ||
} else { | ||
settings.onStatesChange; | ||
}; | ||
} | ||
this._debug('waiting for content to be fully loaded'); | ||
@@ -156,6 +146,18 @@ return domLoaded((function(_this) { | ||
/* | ||
Extending object function | ||
*/ | ||
_extend: function(object, properties) { | ||
var key, val; | ||
for (key in properties) { | ||
val = properties[key]; | ||
object[key] = val; | ||
} | ||
return object; | ||
}, | ||
/* | ||
Load and parse css | ||
*/ | ||
_parseCss: function() { | ||
var e, i, idx, j, rule, rules, settings, settings_found; | ||
var e, error, i, idx, j, rule, rules, settings, settings_found; | ||
i = 0; | ||
@@ -196,4 +198,4 @@ j = document.styleSheets.length; | ||
} | ||
} catch (_error) { | ||
e = _error; | ||
} catch (error) { | ||
e = error; | ||
if (e.name !== 'SecurityError') { | ||
@@ -216,8 +218,10 @@ throw e; | ||
_processFindedStates: function() { | ||
var name, query, _ref; | ||
var name, query, ref; | ||
this._debug('begin process finded states in css'); | ||
_ref = this._statesInCss; | ||
for (name in _ref) { | ||
query = _ref[name]; | ||
this._registerState(name, query); | ||
ref = this._statesInCss; | ||
for (name in ref) { | ||
query = ref[name]; | ||
if (this._settings.ignoredStates.indexOf(name) === -1) { | ||
this._registerState(name, query); | ||
} | ||
} | ||
@@ -284,3 +288,3 @@ return this._launch(); | ||
_updateStatesStatus: function() { | ||
var defaultState, defaultStateIdx, key, state, wasDefault, _ref; | ||
var defaultState, defaultStateIdx, key, ref, state, wasDefault; | ||
defaultState = this.getDefaultState(); | ||
@@ -295,5 +299,5 @@ defaultStateIdx = this._states.indexOf(defaultState); | ||
this._updatedStatesNames = []; | ||
_ref = this._states; | ||
for (key in _ref) { | ||
state = _ref[key]; | ||
ref = this._states; | ||
for (key in ref) { | ||
state = ref[key]; | ||
if (!state.updateOnResize) { | ||
@@ -426,6 +430,6 @@ continue; | ||
getDefaultState: function() { | ||
var state, _i, _len, _ref; | ||
_ref = this.getRegisteredStates(); | ||
for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
state = _ref[_i]; | ||
var k, len, ref, state; | ||
ref = this.getRegisteredStates(); | ||
for (k = 0, len = ref.length; k < len; k++) { | ||
state = ref[k]; | ||
if (state.name === 'default') { | ||
@@ -490,7 +494,7 @@ return state; | ||
isActive: function(stateName) { | ||
var index, isActive, name, _ref; | ||
var index, isActive, name, ref; | ||
isActive = false; | ||
_ref = this._activeStatesNames; | ||
for (index in _ref) { | ||
name = _ref[index]; | ||
ref = this._activeStatesNames; | ||
for (index in ref) { | ||
name = ref[index]; | ||
if (stateName === name) { | ||
@@ -531,2 +535,7 @@ isActive = true; | ||
} | ||
if (document.readyState === 'complete') { | ||
_domLoaded = true; | ||
callback(); | ||
return; | ||
} | ||
return /* Internet Explorer */ | ||
@@ -595,7 +604,2 @@ /*@cc_on | ||
}); | ||
if (typeof window.define === 'function' && window.define.amd) { | ||
window.define([], function() { | ||
return window.Gridle; | ||
}); | ||
} | ||
return Gridle; | ||
@@ -602,0 +606,0 @@ }); |
@@ -1,1 +0,1 @@ | ||
window.matchMedia||(window.matchMedia=function(){"use strict";var a=window.styleMedia||window.media;if(!a){var b=document.createElement("style"),c=document.getElementsByTagName("script")[0],d=null;b.type="text/css",b.id="matchmediajs-test",c.parentNode.insertBefore(b,c),d="getComputedStyle"in window&&window.getComputedStyle(b,null)||b.currentStyle,a={matchMedium:function(a){var c="@media "+a+"{ #matchmediajs-test { width: 1px; } }";return b.styleSheet?b.styleSheet.cssText=c:b.textContent=c,"1px"===d.width}}}return function(b){return{matches:a.matchMedium(b||"all"),media:b||"all"}}}()),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a,b,c;return b={convert:function(a,b){return b={},a.on=function(c,d){return(b[c]=b[c]||[]).push(d),a},a.emit=function(c){var d,e,f,g;if(b[c]){for(g=b[c],e=0,f=g.length;f>e;e++)d=g[e],d.apply(a,Array.prototype.slice.call(arguments,1));return a}},a}},window.Gridle={_inited:!1,_isReady:!1,_statesInCss:null,_statesFindedInCss:!1,_cssSettings:[],_states:[],_activeStates:[],_activeStatesNames:[],_inactiveStates:[],_inactiveStatesNames:[],_updatedStates:[],_updatedStatesNames:[],resizeTimeout:null,_settings:{onUpdate:null,debug:null},init:function(b){var c,d;return this._inited=!0,null!=b&&(this._settings=b),b&&null!=b.debug&&(null!=(c=this._settings.debug)||b.debug),b&&null!=b.onStatesChange&&(null!=(d=this._settings.onStatesChange)||b.onStatesChange),this._debug("waiting for content to be fully loaded"),a(function(a){return function(){return a._parseCss()}}(this))},_parseCss:function(){var a,b,c,d,e,f,g,h;for(b=0,d=document.styleSheets.length,h=!1;d>b;){try{if(f=document.styleSheets[b].cssText||document.styleSheets[b].cssRules||document.styleSheets[b].rules,"string"==typeof f)g=f.match(/#gridle-settings(?:\s*)\{(?:\s*)content(?:\s*):(?:\s*)\"(.+)\"(;\s*|\s*)\}/)&&RegExp.$1,g&&(g=g.toString().replace(/\\/g,""),g=JSON.parse(g),this._cssSettings=g,h=!0,this._cssSettings=g,this._statesInCss=g.states);else for(c in f)e=f[c],/#gridle-settings/.test(e.cssText)&&(g=e.cssText.toString().match(/:(.*);/)&&RegExp.$1,g=g.toString().replace(/\\/g,""),g=g.trim(),g=g.substr(1),g=g.substr(0,g.length-1),g=JSON.parse(g),null!=(null!=g?g.states:void 0))&&(this._cssSettings=g,this._statesInCss=g.states,h=!0)}catch(i){if(a=i,"SecurityError"!==a.name)throw a}b++}return this._statesInCss?this._processFindedStates():this._debug("no states found...")},_processFindedStates:function(){var a,b,c;this._debug("begin process finded states in css"),c=this._statesInCss;for(a in c)b=c[a],this._registerState(a,b);return this._launch()},_launch:function(){return this._debug("launch"),this._isReady=!0,this._crossEmit("ready"),this._addEvent(window,"resize",function(a){return function(){return clearTimeout(a.resizeTimeout),a.resizeTimeout=setTimeout(function(){return a._onResize()},100)}}(this)),this._onResize()},_onResize:function(){var a;return a=[],this._updateStatesStatus(),this.getActiveStatesNames().length&&this._debug("active states",this.getActiveStatesNames().join(",")),this.getInactiveStatesNames().length&&this._debug("inactive states",this.getInactiveStatesNames().join(",")),this.getUpdatedStatesNames().length?this._debug("updated states",this.getUpdatedStatesNames().join(",")):void 0},_registerState:function(a,b,c){var d;return d={name:a,query:b.query,settings:b,status:null,previous_status:null,updateOnResize:null!=c?c:!0},this._states.push(d),this._debug("|--- register state",a,d)},_updateStatesStatus:function(){var a,b,c,d,e,f;a=this.getDefaultState(),b=this._states.indexOf(a),e=a.status,this._activeStates=[],this._activeStatesNames=[],this._inactiveStates=[],this._inactiveStatesNames=[],this._updatedStates=[],this._updatedStatesNames=[],f=this._states;for(c in f)d=f[c],d.updateOnResize&&(this._states[c].previous_status=d.status,this._validateState(d)?(this._states[c].status||(this._updatedStates.push(d),this._updatedStatesNames.push(d.name)),this._states[c].status=!0,this._activeStates.push(d),this._activeStatesNames.push(d.name)):"default"!==d.name&&(this._states[c].status&&(this._updatedStates.push(d),this._updatedStatesNames.push(d.name)),this._states[c].status=!1,this._inactiveStates.push(d),this._inactiveStatesNames.push(d.name)));return this._activeStates.length?(this._states[b].status=!1,this._inactiveStates.push(a),this._inactiveStatesNames.push("default"),e&&(this._updatedStates.push(a),this._updatedStatesNames.push("default"))):(this._states[b].status=!0,this._activeStates.push(a),this._activeStatesNames.push("default"),e||(this._updatedStates.push(a),this._updatedStatesNames.push("default"))),this._updatedStates.length&&this._crossEmit("update",this._updatedStates,this._activeStates,this._inactiveStates),this._updatedStates.length&&this._settings.onUpdate?this._settings.onUpdate(this._updatedStates,this._activeStates,this._inactiveStates):void 0},_validateState:function(){return function(a){return matchMedia(a.query).matches}}(this),_addEvent:function(a,b,c){return a?a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c:!1},_crossEmit:function(a){return"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery(this).trigger(a,Array.prototype.slice.call(arguments,1)),jQuery("body").trigger("gridle."+a,Array.prototype.slice.call(arguments,1))),this.emit.apply(this,arguments)},_ajax:function(a){var b,c;return b={type:a.type||"GET",url:a.url,success:a.success,error:a.error,dataType:a.dataType||"text",context:a.context},c=new XMLHttpRequest,b.context&&(c.context=b.context),c.open(b.type,b.url,!0),c.onreadystatechange=function(){var a;if(4!==c.readyState)return!1;switch(c.status){case 200:switch(b.dataType){case"json":a=JSON.parse(c.responseText);break;default:a=c.responseText}if(b.success)return b.success(a,c.status,c)}},c.send()},getDefaultState:function(){var a,b,c,d;for(d=this.getRegisteredStates(),b=0,c=d.length;c>b;b++)if(a=d[b],"default"===a.name)return a},getRegisteredStates:function(){return this._states},getUpdatedStates:function(){return this._updatedStates},getUpdatedStatesNames:function(){return this._updatedStatesNames},getActiveStates:function(){return this._activeStates},getActiveStatesNames:function(){return this._activeStatesNames},getInactiveStates:function(){return this._inactiveStates},getInactiveStatesNames:function(){return this._inactiveStatesNames},isActive:function(a){var b,c,d,e;c=!1,e=this._activeStatesNames;for(b in e)d=e[b],a===d&&(c=!0);return c},isReady:function(){return this._isReady},_debug:function(){return this._settings.debug?console.log("GRIDLE",arguments):void 0}},c=!1,a=function(a){var b;return b=function(a){return c?void a():void 0},window.addEventListener?window.addEventListener("load",function(){return function(){return c=!0,a()}}(this),!1):window.attachEvent("onload",function(){return function(){return c=!0,a()}}(this)),b(function(){return function(){return a()}}(this))},b.convert(window.Gridle),a(function(){return setTimeout(function(){return Gridle._inited?void 0:Gridle.init()},500)}),"function"==typeof window.define&&window.define.amd&&window.define([],function(){return window.Gridle}),Gridle}); | ||
window.matchMedia||(window.matchMedia=function(){"use strict";var a=window.styleMedia||window.media;if(!a){var b=document.createElement("style"),c=document.getElementsByTagName("script")[0],d=null;b.type="text/css",b.id="matchmediajs-test",c.parentNode.insertBefore(b,c),d="getComputedStyle"in window&&window.getComputedStyle(b,null)||b.currentStyle,a={matchMedium:function(a){var c="@media "+a+"{ #matchmediajs-test { width: 1px; } }";return b.styleSheet?b.styleSheet.cssText=c:b.textContent=c,"1px"===d.width}}}return function(b){return{matches:a.matchMedium(b||"all"),media:b||"all"}}}()),function(a){"function"==typeof define&&define.amd?define([],a):("object"==typeof exports,a())}(function(){var a,b,c;return c={convert:function(a,b){return b={},a.on=function(c,d){return(b[c]=b[c]||[]).push(d),a},a.emit=function(c){var d,e,f,g;if(b[c]){for(g=b[c],e=0,f=g.length;f>e;e++)d=g[e],d.apply(a,Array.prototype.slice.call(arguments,1));return a}},a}},window.Gridle={_inited:!1,_isReady:!1,_statesInCss:null,_statesFindedInCss:!1,_cssSettings:[],_states:[],_activeStates:[],_activeStatesNames:[],_inactiveStates:[],_inactiveStatesNames:[],_updatedStates:[],_updatedStatesNames:[],resizeTimeout:null,_settings:{onUpdate:null,debug:null,ignoredStates:[]},init:function(a){var c;return this._inited=!0,null!=(null!=a?a.ignoredStates:void 0)&&(c=a.ignoredStates.indexOf("default"))>-1&&a.ignoredStates.splice(c,1),a&&(this._settings=this._extend(this._settings,a)),this._debug("waiting for content to be fully loaded"),b(function(a){return function(){return a._parseCss()}}(this))},_extend:function(a,b){var c,d;for(c in b)d=b[c],a[c]=d;return a},_parseCss:function(){var a,b,c,d,e,f,g,h,i;for(c=0,e=document.styleSheets.length,i=!1;e>c;){try{if(g=document.styleSheets[c].cssText||document.styleSheets[c].cssRules||document.styleSheets[c].rules,"string"==typeof g)h=g.match(/#gridle-settings(?:\s*)\{(?:\s*)content(?:\s*):(?:\s*)\"(.+)\"(;\s*|\s*)\}/)&&RegExp.$1,h&&(h=h.toString().replace(/\\/g,""),h=JSON.parse(h),this._cssSettings=h,i=!0,this._cssSettings=h,this._statesInCss=h.states);else for(d in g)f=g[d],/#gridle-settings/.test(f.cssText)&&(h=f.cssText.toString().match(/:(.*);/)&&RegExp.$1,h=h.toString().replace(/\\/g,""),h=h.trim(),h=h.substr(1),h=h.substr(0,h.length-1),h=JSON.parse(h),null!=(null!=h?h.states:void 0))&&(this._cssSettings=h,this._statesInCss=h.states,i=!0)}catch(b){if(a=b,"SecurityError"!==a.name)throw a}c++}return this._statesInCss?this._processFindedStates():this._debug("no states found...")},_processFindedStates:function(){var a,b,c;this._debug("begin process finded states in css"),c=this._statesInCss;for(a in c)b=c[a],-1===this._settings.ignoredStates.indexOf(a)&&this._registerState(a,b);return this._launch()},_launch:function(){return this._debug("launch"),this._isReady=!0,this._crossEmit("ready"),this._addEvent(window,"resize",function(a){return function(b){return clearTimeout(a.resizeTimeout),a.resizeTimeout=setTimeout(function(){return a._onResize()},100)}}(this)),this._onResize()},_onResize:function(){var a;return a=[],this._updateStatesStatus(),this.getActiveStatesNames().length&&this._debug("active states",this.getActiveStatesNames().join(",")),this.getInactiveStatesNames().length&&this._debug("inactive states",this.getInactiveStatesNames().join(",")),this.getUpdatedStatesNames().length?this._debug("updated states",this.getUpdatedStatesNames().join(",")):void 0},_registerState:function(a,b,c){var d;return d={name:a,query:b.query,settings:b,status:null,previous_status:null,updateOnResize:null!=c?c:!0},this._states.push(d),this._debug("|--- register state",a,d)},_updateStatesStatus:function(){var a,b,c,d,e,f;a=this.getDefaultState(),b=this._states.indexOf(a),f=a.status,this._activeStates=[],this._activeStatesNames=[],this._inactiveStates=[],this._inactiveStatesNames=[],this._updatedStates=[],this._updatedStatesNames=[],d=this._states;for(c in d)e=d[c],e.updateOnResize&&(this._states[c].previous_status=e.status,this._validateState(e)?(this._states[c].status||(this._updatedStates.push(e),this._updatedStatesNames.push(e.name)),this._states[c].status=!0,this._activeStates.push(e),this._activeStatesNames.push(e.name)):"default"!==e.name&&(this._states[c].status&&(this._updatedStates.push(e),this._updatedStatesNames.push(e.name)),this._states[c].status=!1,this._inactiveStates.push(e),this._inactiveStatesNames.push(e.name)));return this._activeStates.length?(this._states[b].status=!1,this._inactiveStates.push(a),this._inactiveStatesNames.push("default"),f&&(this._updatedStates.push(a),this._updatedStatesNames.push("default"))):(this._states[b].status=!0,this._activeStates.push(a),this._activeStatesNames.push("default"),f||(this._updatedStates.push(a),this._updatedStatesNames.push("default"))),this._updatedStates.length&&this._crossEmit("update",this._updatedStates,this._activeStates,this._inactiveStates),this._updatedStates.length&&this._settings.onUpdate?this._settings.onUpdate(this._updatedStates,this._activeStates,this._inactiveStates):void 0},_validateState:function(a){return function(a){return matchMedia(a.query).matches}}(this),_addEvent:function(a,b,c){return a?a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c:!1},_crossEmit:function(a){return"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery(this).trigger(a,Array.prototype.slice.call(arguments,1)),jQuery("body").trigger("gridle."+a,Array.prototype.slice.call(arguments,1))),this.emit.apply(this,arguments)},_ajax:function(a){var b,c;return b={type:a.type||"GET",url:a.url,success:a.success,error:a.error,dataType:a.dataType||"text",context:a.context},c=new XMLHttpRequest,b.context&&(c.context=b.context),c.open(b.type,b.url,!0),c.onreadystatechange=function(){var a;if(4!==c.readyState)return!1;switch(c.status){case 200:switch(b.dataType){case"json":a=JSON.parse(c.responseText);break;default:a=c.responseText}if(b.success)return b.success(a,c.status,c)}},c.send()},getDefaultState:function(){var a,b,c,d;for(c=this.getRegisteredStates(),a=0,b=c.length;b>a;a++)if(d=c[a],"default"===d.name)return d},getRegisteredStates:function(){return this._states},getUpdatedStates:function(){return this._updatedStates},getUpdatedStatesNames:function(){return this._updatedStatesNames},getActiveStates:function(){return this._activeStates},getActiveStatesNames:function(){return this._activeStatesNames},getInactiveStates:function(){return this._inactiveStates},getInactiveStatesNames:function(){return this._inactiveStatesNames},isActive:function(a){var b,c,d,e;c=!1,e=this._activeStatesNames;for(b in e)d=e[b],a===d&&(c=!0);return c},isReady:function(){return this._isReady},_debug:function(){return this._settings.debug?console.log("GRIDLE",arguments):void 0}},a=!1,b=function(b){var c;return c=function(b){return a?void b():"complete"===document.readyState?(a=!0,void b()):void 0},window.addEventListener?window.addEventListener("load",function(c){return function(){return a=!0,b()}}(this),!1):window.attachEvent("onload",function(c){return function(){return a=!0,b()}}(this)),c(function(a){return function(){return b()}}(this))},c.convert(window.Gridle),b(function(){return setTimeout(function(){return Gridle._inited?void 0:Gridle.init()},500)}),Gridle}); |
{ | ||
"name": "gridle", | ||
"description": "Gridle grid system", | ||
"version": "2.0.44", | ||
"version": "2.0.46", | ||
"main": "sass/gridle/_gridle.scss", | ||
@@ -18,16 +18,17 @@ "scripts": { | ||
"grunt": ">=0.4.4", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-coffee": ">=0.9.0", | ||
"grunt-contrib-compass": ">=0.7.1", | ||
"grunt-contrib-concat": "^0.5.1", | ||
"grunt-contrib-cssmin": "^0.12.0", | ||
"grunt-contrib-sass": ">=0.7.3", | ||
"grunt-contrib-uglify": "^0.7.0", | ||
"grunt-contrib-watch": ">=0.5.3", | ||
"grunt-notify": ">=0.2.13", | ||
"grunt-contrib-clean": "^1.0.0", | ||
"grunt-contrib-coffee": ">=1.0.0", | ||
"grunt-contrib-compass": ">=1.1.1", | ||
"grunt-contrib-concat": "^1.0.0", | ||
"grunt-contrib-csslint": "^1.0.0", | ||
"grunt-contrib-cssmin": "^1.0.1", | ||
"grunt-contrib-sass": ">=1.0.0", | ||
"grunt-contrib-uglify": "^1.0.1", | ||
"grunt-contrib-watch": ">=1.0.0", | ||
"grunt-notify": ">=0.4.5", | ||
"grunt-sass": "1.0.0", | ||
"gulp": "^3.9.0", | ||
"gulp-sass": "^2.0.4", | ||
"node-sass": "^3.3.3" | ||
"gulp-sass": "^2.2.0", | ||
"node-sass": "^3.4.2" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# gridle (v2.0.44) | ||
# gridle (v2.0.46) | ||
@@ -205,3 +205,5 @@ | ||
| ------------- | ------------- | ------------- | | ||
| <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Sass_Logo_Color.svg/1280px-Sass_Logo_Color.svg.png" height="20" /> | Sass | 3.4.18 | | ||
| <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Sass_Logo_Color.svg/1280px-Sass_Logo_Color.svg.png" height="20" /> | Grunt Sass | 1.0.0 | | ||
| <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Sass_Logo_Color.svg/1280px-Sass_Logo_Color.svg.png" height="20" /> | Gulp Sass | 2.2.0 | | ||
| <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Sass_Logo_Color.svg/1280px-Sass_Logo_Color.svg.png" height="20" /> | Node Sass | 3.4.2 | | ||
| <img src="http://www.codingpedia.org/wp-content/uploads/2014/04/gulp-2x.png" height="30" /> | Gulp | 3.9.0 | | ||
@@ -208,0 +210,0 @@ | <img src="https://www.npmjs.com/static/images/npm-logo.svg" height="20" /> | NPM | 2.5.1 | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2122808
74
18889
211
15