From 67b50bced5d2d3d57876fad7b27963baf1252fb1 Mon Sep 17 00:00:00 2001 From: Aitor Calderon Date: Fri, 8 Jul 2016 17:48:36 +0200 Subject: [PATCH] Updated yasd.min --- dist/yasd.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/yasd.min.js b/dist/yasd.min.js index 0a9ac66..669652c 100644 --- a/dist/yasd.min.js +++ b/dist/yasd.min.js @@ -1,2 +1,2 @@ /*! yasd 0.1.0 | AitorC (https://github.com/AitorC) License: ISC */ -!function(){function a(a,b,c){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=(d.path&&!/^(http(s)?:)?\/\//.test(a)?d.path:"")+a,e.onload=b,e.onerror=c,setTimeout(function(){var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(e,a)},0)}function b(a,b){var c,d=e[a];for(d.state=b?-2:1;c=d.callbacks.pop();)c.apply(null,b?[b]:[])}var c,d,e={},f=0;d=function g(c,h,i){var j=((typeof c)[0]+(c&&!!c.length)).slice(0,2),k=!!d.map&&d.map[c],l=(typeof h).match(/^(f|u)/);if(k)return d(k,c,l?h:i);if(l)return d(c,"st"===j?c:f++,h);var m,n="ot"===j?c.length:1,o=!1,p=function(a){o=o||!!a,0===--n&&b(h,o)};if(e[h]){if(m=e[h].state,i&&m<=0&&e[h].callbacks.push(i),m>=0)return 1===m&&i?i():null,d;e[h].state=0}else e[h]={state:0,callbacks:i?[i]:[]};if("st"!==j){for(var q in c)d(c[q],"string"==typeof c[q]?c[q]:f++,p);return d}return a(c,function(){p()},p),g},d.on=function(a,b){var c=e[a];return c?0===c.state&&c.callbacks.push(b):e[a]={state:-1,callbacks:[b]},d},"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=function(a){return c=a,d}:"function"==typeof define&&define.amd?define(function(){return d}):(window.yasd&&(d.path=window.yasd.path||"",d.map=window.yasd.map||void 0),window.yasd=d)}(); \ No newline at end of file +!function(){function a(a,b,c){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=(d.path&&!/^(http(s)?:)?\/\//.test(a)?d.path:"")+a,e.onload=b,e.onerror=c,setTimeout(function(){var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(e,a)},0)}function b(a,b){var c,d=e[a];for(d.state=b?-2:1;c=d.callbacks.pop();)(c||Function.prototype).apply(null,b?[b]:[])}var c,d,e={},f=0;d=function g(c,h,i){var j=((typeof c)[0]+(c&&!!c.length)).slice(0,2),k=!!d.map&&d.map[c],l=(typeof h).match(/^(f|u)/);if(k)return d(k,c,l?h:i);if(l)return d(c,"st"===j?c:f++,h);var m,n="ot"===j?c.length:1,o=!1,p=function(a){o=o||!!a,0===--n&&b(h,o)};if(e[h]){if(m=e[h].state,i&&m<=0&&e[h].callbacks.push(i),m>=0)return 1===m&&i?i():null,d;e[h].state=0}else e[h]={state:0,callbacks:i?[i]:[]};if("st"!==j){for(var q in c)d(c[q],"string"==typeof c[q]?c[q]:f++,p);return d}return a(c,function(){p()},p),g},d.on=function(a,b){var c=e[a];return c?0===c.state?c.callbacks.push(b):1===c.state&&b():e[a]={state:-1,callbacks:[b]},d},"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=function(a){return c=a,d}:"function"==typeof define&&define.amd?define(function(){return d}):(window.yasd&&(d.path=window.yasd.path||"",d.map=window.yasd.map||void 0),window.yasd=d)}(); \ No newline at end of file