Comparing version 1.0.2 to 1.0.3
@@ -1,1 +0,1 @@ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t),r.d(t,"define",function(){return s}),r.d(t,"require",function(){return o});var n=window;!function(e,t){if(!e.seajs){var r=e.seajs={version:"3.0.1"},n=r.data={},i=X("Object"),s=X("String"),o=Array.isArray||X("Array"),a=X("Function"),u=X("Undefined"),f=0,c=n.events={};r.on=function(e,t){return(c[e]||(c[e]=[])).push(t),r},r.off=function(e,t){if(!e&&!t)return c=n.events={},r;var i=c[e];if(i)if(t)for(var s=i.length-1;s>=0;s--)i[s]===t&&i.splice(s,1);else delete c[e];return r};var l=r.emit=function(e,t){var n=c[e];if(n)for(var i=0,s=(n=n.slice()).length;i<s;i++)n[i](t);return r},d=/[^?#]*\//,h=/\/\.\//g,p=/\/[^/]+\/\.\.\//,v=/([^:/])\/+\//g,y=/^([^/:]+)(\/.+)$/,g=/{([^{]+)}/g,b=/^\/\/.|:\//,m=/^.*?\/\/.*?\//;r.resolve=function(e,t){if(!e)return"";var r=V(e=F(e=function(e){var t=e.length-1,r=e.charCodeAt(t);return 35===r?e.substring(0,t):".js"===e.substring(t-2)||e.indexOf("?")>0||47===r?e:e+".js"}(e=F(e=function(e){var t=n.vars;return t&&e.indexOf("{")>-1&&(e=e.replace(g,function(e,r){return s(t[r])?t[r]:e})),e}(e=F(e=function(e){var t,r=n.paths;return r&&(t=e.match(y))&&s(r[t[1]])&&(e=r[t[1]]+t[2]),e}(e=F(e))))))),t);return r=function(e){var t=n.map,r=e;if(t)for(var i=0,s=t.length;i<s;i++){var o=t[i];if((r=a(o)?o(e)||e:e.replace(o[0],o[1]))!==e)break}return r}(r=F(r))};var x,E,O,w="undefined"==typeof window&&"undefined"!=typeof importScripts&&a(importScripts),_=!location.href||/^(about|blob):/.test(location.href)?"":M(location.href);if(w){var A,S;try{throw new Error}catch(e){A=e.stack.split("\n")}A.shift();for(var q=/.*?((?:http|https|file)(?::\/{2}[\w]+)(?:[\/|\.]?)(?:[^\s"]*)).*?/i;A.length>0;){var j=A.shift();if(null!=(S=q.exec(j)))break}if(null!=S)var D=/(.*?):\d+:\d+\)?$/.exec(S[1])[1];E=D,x=M(D||_),""===_&&(_=x)}else{var T=(N=document).scripts;x=M((E=function(e){return e.hasAttribute?e.src:e.getAttribute("src",4)}(N.getElementById("seajsnode")||T[T.length-1]))||_)}if(w){r.request=function(e,t,r,n){var i;try{importScripts(e)}catch(e){i=e}t(i)}}else{var N,C,U=(N=document).head||N.getElementsByTagName("head")[0]||N.documentElement,I=U.getElementsByTagName("base")[0];r.request=function(e,t,r,i){var s=N.createElement("script");r&&(s.charset=r),u(i)||s.setAttribute("crossorigin",i),function(e,t,r){function i(r){e.onload=e.onerror=e.onreadystatechange=null,n.debug||U.removeChild(e),e=null,t(r)}"onload"in e?(e.onload=i,e.onerror=function(){l("error",{uri:r,node:e}),i(!0)}):e.onreadystatechange=function(){/loaded|complete/.test(e.readyState)&&i()}}(s,t,e),s.async=!0,s.src=e,C=s,I?U.insertBefore(s,I):U.appendChild(s),C=null}}var k,G=r.cache={},P={},R={},L={},$=J.STATUS={FETCHING:1,SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6,ERROR:7};J.prototype.resolve=function(){for(var e=this.dependencies,t=[],r=0,n=e.length;r<n;r++)t[r]=J.resolve(e[r],this.uri);return t},J.prototype.pass=function(){for(var e=this.dependencies.length,t=0;t<this._entry.length;t++){for(var r=this._entry[t],n=0,i=0;i<e;i++){var s=this.deps[this.dependencies[i]];s.status<$.LOADED&&!r.history.hasOwnProperty(s.uri)&&(r.history[s.uri]=!0,n++,s._entry.push(r),s.status===$.LOADING&&s.pass())}n>0&&(r.remain+=n-1,this._entry.shift(),t--)}},J.prototype.load=function(){if(!(this.status>=$.LOADING)){this.status=$.LOADING;var e=this.resolve();l("load",e);for(var t=0,r=e.length;t<r;t++)this.deps[this.dependencies[t]]=J.get(e[t]);if(this.pass(),this._entry.length)this.onload();else{var n,i={};for(t=0;t<r;t++)(n=G[e[t]]).status<$.FETCHING?n.fetch(i):n.status===$.SAVED&&n.load();for(var s in i)i.hasOwnProperty(s)&&i[s]()}}},J.prototype.onload=function(){this.status=$.LOADED;for(var e=0,t=(this._entry||[]).length;e<t;e++){var r=this._entry[e];0==--r.remain&&r.callback()}delete this._entry},J.prototype.error=function(){this.onload(),this.status=$.ERROR},J.prototype.exec=function(){var e=this;if(e.status>=$.EXECUTING)return e.exports;if(e.status=$.EXECUTING,e._entry&&!e._entry.length&&delete e._entry,e.hasOwnProperty("factory")){var t=e.uri;i.resolve=function(e){return J.resolve(e,t)},i.async=function(e,r){return J.use(e,r,t+"_async_"+B()),i};var r=e.factory,n=a(r)?r.apply(e.exports={},e.dependencies.map(function(t){return e.deps[t].exports})):r;return void 0===n&&(n=e.exports),delete e.factory,e.exports=n,e.status=$.EXECUTED,l("exec",e),e.exports}function i(t){var r=e.deps[t]||J.get(i.resolve(t));if(r.status==$.ERROR)throw new Error("module was broken: "+r.uri);return r.exec()}e.non=!0},J.prototype.fetch=function(e){var t=this.uri;this.status=$.FETCHING;var i={uri:t};l("fetch",i);var s=i.requestUri||t;function o(){r.request(i.requestUri,i.onRequest,i.charset,i.crossorigin)}s&&!R.hasOwnProperty(s)?P.hasOwnProperty(s)?L[s].push(this):(P[s]=!0,L[s]=[this],l("request",i={uri:t,requestUri:s,onRequest:function(e){delete P[s],R[s]=!0,k&&(J.save(t,k),k=null);var r,n=L[s];delete L[s];for(;r=n.shift();)!0===e?r.error():r.load()},charset:a(n.charset)?n.charset(s):n.charset,crossorigin:a(n.crossorigin)?n.crossorigin(s):n.crossorigin}),i.requested||(e?e[i.requestUri]=o:o())):this.load()},J.resolve=function(e,t){var n={id:e,refUri:t};return l("resolve",n),n.uri||r.resolve(n.id,t)},J.define=function(e,t,r){var n=arguments.length;1===n?(r=e,e=void 0):2===n&&(r=t,o(e)?(t=e,e=void 0):t=void 0),!o(t)&&a(r)&&(t=z(r.toString()));var i={id:e,uri:J.resolve(e),deps:t,factory:r};if(!w&&!i.uri&&N.attachEvent){var s=H();s&&(i.uri=s.src)}l("define",i),i.uri?J.save(i.uri,i):k=i},J.save=function(e,t){var r=J.get(e);r.status<$.SAVED&&(r.id=t.id||e,r.dependencies=t.deps||[],r.factory=t.factory,r.status=$.SAVED,l("save",r))},J.get=function(e,t){return G[e]||(G[e]=new J(e,t))},J.use=function(t,r,n){var i=J.get(n,o(t)?t:[t]);i._entry.push(i),i.history={},i.remain=1,i.callback=function(){for(var t=[],n=i.resolve(),s=0,o=n.length;s<o;s++)t[s]=G[n[s]].exec();r&&r.apply(e,t),delete i.callback,delete i.history,delete i.remain,delete i._entry},i.load()},r.use=function(e,t){return J.use(e,t,n.cwd+"_use_"+B()),r},J.define.amd={},e.define=J.define,r.Module=J,n.fetchedList=R,n.cid=B,r.require=function(e){var t=J.get(J.resolve(e));return t.status<$.EXECUTING&&(t.onload(),t.exec()),t.exports},e.require=r.require,n.base=x,n.dir=x,n.loader=E,n.cwd=_,n.charset="utf-8",r.config=function(e){for(var t in e){var s=e[t],a=n[t];if(a&&i(a))for(var u in s)a[u]=s[u];else o(a)?s=a.concat(s):"base"===t&&("/"!==s.slice(-1)&&(s+="/"),s=V(s)),n[t]=s}return l("config",e),r}}function X(e){return function(t){return{}.toString.call(t)=="[object "+e+"]"}}function B(){return f++}function M(e){return e.match(d)[0]}function F(e){var t=n.alias;return t&&s(t[e])?t[e]:e}function V(e,t){var r,i=e.charCodeAt(0);if(b.test(e))r=e;else if(46===i)r=(t?M(t):n.cwd)+e;else if(47===i){var s=n.cwd.match(m);r=s?s[0]+e.substring(1):e}else r=n.base+e;return 0===r.indexOf("//")&&(r=location.protocol+r),function(e){for(e=(e=e.replace(h,"/")).replace(v,"$1/");e.match(p);)e=e.replace(p,"/");return e}(r)}function H(){if(C)return C;if(O&&"interactive"===O.readyState)return O;for(var e=U.getElementsByTagName("script"),t=e.length-1;t>=0;t--){var r=e[t];if("interactive"===r.readyState)return O=r}}function z(e){if(-1==e.indexOf("require"))return[];for(var t,r,n,i=0,s=e.length,o=1,a=0,u=[],f=0,c=[],l=[];i<s;)if(p(),/\s/.test(t))!n||"\n"!=t&&"\r"!=t||(r=0,n=0);else if('"'==t||"'"==t)v(),o=1,n=0,r=0;else if("/"==t)if(p(),"/"==t)-1==(i=e.indexOf("\n",i))&&(i=e.length);else if("*"==t){var d=e.indexOf("\n",i);-1==(i=e.indexOf("*/",i))?i=s:i+=2,n&&-1!=d&&d<i&&(r=0,n=0)}else o?(y(),o=0,n=0,r=0):(i--,o=1,n=0,r=1);else if(/[a-z_$]/i.test(t))g();else if(/\d/.test(t)||"."==t&&/\d/.test(e.charAt(i)))b(),n=0,r=0;else if("("==t)c.push(f),o=1,n=0,r=1;else if(")"==t)o=c.pop(),n=0,r=0;else if("{"==t)n&&(r=1),l.push(r),n=0,o=1;else if("}"==t)r=l.pop(),o=!r,n=0;else{var h=e.charAt(i);";"==t?r=0:"-"==t&&"-"==h||"+"==t&&"+"==h||"="==t&&">"==h?(r=0,i++):r=1,o="]"!=t,n=0}return u;function p(){t=e.charAt(i++)}function v(){var r=i,n=t,o=e.indexOf(n,r);if(-1==o)i=s;else if("\\"!=e.charAt(o-1))i=o+1;else for(;i<s;)if(p(),"\\"==t)i++;else if(t==n)break;a&&(u.push(e.substring(r,i-1)),a=0)}function y(){for(i--;i<s;)if(p(),"\\"==t)i++;else{if("/"==t)break;if("["==t)for(;i<s;)if(p(),"\\"==t)i++;else if("]"==t)break}}function g(){var t=e.slice(i-1),s=/^[\w$]+/.exec(t)[0];f={if:1,for:1,while:1,with:1}[s],o={break:1,case:1,continue:1,debugger:1,delete:1,do:1,else:1,false:1,if:1,in:1,instanceof:1,return:1,typeof:1,void:1}[s],n="return"==s,r={instanceof:1,delete:1,void:1,typeof:1,return:1}.hasOwnProperty(s),(a=/^require\s*(?:\/\*[\s\S]*?\*\/\s*)?\(\s*(['"]).+?\1\s*[),]/.test(t))?(s=/^require\s*(?:\/\*[\s\S]*?\*\/\s*)?\(\s*['"]/.exec(t)[0],i+=s.length-2):i+=/^[\w$]+(?:\s*\.\s*[\w$]+)*/.exec(t)[0].length-1}function b(){var r,n=e.slice(i-1);r="."==t?/^\.\d+(?:E[+-]?\d*)?\s*/i.exec(n)[0]:/^0x[\da-f]*/i.test(n)?/^0x[\da-f]*\s*/i.exec(n)[0]:/^\d+\.?\d*(?:E[+-]?\d*)?\s*/i.exec(n)[0],i+=r.length-1,o=0}}function J(e,t){this.uri=e,this.dependencies=t||[],this.deps={},this.status=0,this._entry=[]}}(n);var i=n.seajs,s=n.define,o=n.require;t.default=i}])}); | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t),r.d(t,"define",function(){return o}),r.d(t,"require",function(){return s});var n=window;!function(e,t){if(!e.seajs){var r=e.seajs={version:"3.0.3"},n=r.data={},i=F("Object"),o=F("String"),s=Array.isArray||F("Array"),a=F("Function"),u=F("Undefined"),c=0,f=n.events={};r.on=function(e,t){return(f[e]||(f[e]=[])).push(t),r},r.off=function(e,t){if(!e&&!t)return f=n.events={},r;var i=f[e];if(i)if(t)for(var o=i.length-1;o>=0;o--)i[o]===t&&i.splice(o,1);else delete f[e];return r};var l=r.emit=function(e,t){var n=f[e];if(n)for(var i=0,o=(n=n.slice()).length;i<o;i++)n[i](t);return r},d=/[^?#]*\//,h=/\/\.\//g,p=/\/[^/]+\/\.\.\//,v=/([^:/])\/+\//g,y=/^([^/:]+)(\/.+)$/,g=/{([^{]+)}/g,b=/^\/\/.|:\//,m=/^.*?\/\/.*?\//;r.resolve=function(e,t){if(!e)return"";var r=z(e=H(e=function(e){var t=e.length-1,r=e.charCodeAt(t);return 35===r?e.substring(0,t):".js"===e.substring(t-2)||e.indexOf("?")>0||47===r?e:e+".js"}(e=H(e=function(e){var t=n.vars;return t&&e.indexOf("{")>-1&&(e=e.replace(g,function(e,r){return o(t[r])?t[r]:e})),e}(e=H(e=function(e){var t,r=n.paths;return r&&(t=e.match(y))&&o(r[t[1]])&&(e=r[t[1]]+t[2]),e}(e=H(e))))))),t);return r=function(e){var t=n.map,r=e;if(t)for(var i=0,o=t.length;i<o;i++){var s=t[i];if((r=a(s)?s(e)||e:e.replace(s[0],s[1]))!==e)break}return r}(r=H(r))};var E,x,O,_="undefined"==typeof window&&"undefined"!=typeof importScripts&&a(importScripts),w=!location.href||/^(about|blob):/.test(location.href)?"":$(location.href);if(_){var S,A;try{throw new Error}catch(e){S=e.stack.split("\n")}S.shift();for(var j=/.*?((?:http|https|file)(?::\/{2}[\w]+)(?:[\/|\.]?)(?:[^\s"]*)).*?/i;S.length>0;){var q=S.shift();if(null!=(A=j.exec(q)))break}if(null!=A)var D=/(.*?):\d+:\d+\)?$/.exec(A[1])[1];x=D,E=$(D||w),""===w&&(w=E)}else{var T=(N=document).scripts;E=$((x=function(e){return e.hasAttribute?e.src:e.getAttribute("src",4)}(N.getElementById("seajsnode")||T[T.length-1]))||w)}if(_){r.request=function(e,t,r,n){var i;try{importScripts(e)}catch(e){i=e}t(i)}}else{var N,C,U=(N=document).head||N.getElementsByTagName("head")[0]||N.documentElement,I=U.getElementsByTagName("base")[0];r.request=function(e,t,r,i){var o=N.createElement("script");r&&(o.charset=r),u(i)||o.setAttribute("crossorigin",i),function(e,t,r){function i(r){e.onload=e.onerror=e.onreadystatechange=null,n.debug||U.removeChild(e),e=null,t(r)}"onload"in e?(e.onload=i,e.onerror=function(){l("error",{uri:r,node:e}),i(!0)}):e.onreadystatechange=function(){/loaded|complete/.test(e.readyState)&&i()}}(o,t,e),o.async=!0,o.src=e,C=o,I?U.insertBefore(o,I):U.appendChild(o),C=null}}var G,R=/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^\/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g,P=/\\\\/g,L=r.cache={},k={},X={},B={},M=Q.STATUS={FETCHING:1,SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6,ERROR:7};Q.prototype.resolve=function(){for(var e=this.dependencies,t=[],r=0,n=e.length;r<n;r++)t[r]=Q.resolve(e[r],this.uri);return t},Q.prototype.pass=function(){for(var e=this.dependencies.length,t=0;t<this._entry.length;t++){for(var r=this._entry[t],n=0,i=0;i<e;i++){var o=this.deps[this.dependencies[i]];o.status<M.LOADED&&!r.history.hasOwnProperty(o.uri)&&(r.history[o.uri]=!0,n++,o._entry.push(r),o.status===M.LOADING&&o.pass())}n>0&&(r.remain+=n-1,this._entry.shift(),t--)}},Q.prototype.load=function(){if(!(this.status>=M.LOADING)){this.status=M.LOADING;var e=this.resolve();l("load",e);for(var t=0,r=e.length;t<r;t++)this.deps[this.dependencies[t]]=Q.get(e[t]);if(this.pass(),this._entry.length)this.onload();else{var n,i={};for(t=0;t<r;t++)(n=L[e[t]]).status<M.FETCHING?n.fetch(i):n.status===M.SAVED&&n.load();for(var o in i)i.hasOwnProperty(o)&&i[o]()}}},Q.prototype.onload=function(){this.status=M.LOADED;for(var e=0,t=(this._entry||[]).length;e<t;e++){var r=this._entry[e];0==--r.remain&&r.callback()}delete this._entry},Q.prototype.error=function(){this.onload(),this.status=M.ERROR},Q.prototype.exec=function(){var e=this;if(e.status>=M.EXECUTING)return e.exports;if(e.status=M.EXECUTING,e._entry&&!e._entry.length&&delete e._entry,e.hasOwnProperty("factory")){var t=e.uri;i.resolve=function(e){return Q.resolve(e,t)},i.async=function(e,r){return Q.use(e,r,t+"_async_"+V()),i};var r=e.factory,n=a(r)?r.apply(e.exports={},function(e){var t=e&&e.dependencies||[],r=t.length,n=[];for(let o=0;o<r;o++){var i=e.deps[t[o]];n[o]=i&&i.exec()}return n}(e)):r;return void 0===n&&(n=e.exports),delete e.factory,e.exports=n,e.status=M.EXECUTED,l("exec",e),e.exports}function i(t){var r=e.deps[t]||Q.get(i.resolve(t));if(r.status==M.ERROR)throw new Error("module was broken: "+r.uri);return r.exec()}e.non=!0},Q.prototype.fetch=function(e){var t=this.uri;this.status=M.FETCHING;var i={uri:t};l("fetch",i);var o=i.requestUri||t;function s(){r.request(i.requestUri,i.onRequest,i.charset,i.crossorigin)}o&&!X.hasOwnProperty(o)?k.hasOwnProperty(o)?B[o].push(this):(k[o]=!0,B[o]=[this],l("request",i={uri:t,requestUri:o,onRequest:function(e){delete k[o],X[o]=!0,G&&(Q.save(t,G),G=null);var r,n=B[o];delete B[o];for(;r=n.shift();)!0===e?r.error():r.load()},charset:a(n.charset)?n.charset(o):n.charset,crossorigin:a(n.crossorigin)?n.crossorigin(o):n.crossorigin}),i.requested||(e?e[i.requestUri]=s:s())):this.load()},Q.resolve=function(e,t){var n={id:e,refUri:t};return l("resolve",n),n.uri||r.resolve(n.id,t)},Q.define=function(e,t,r){var n=arguments.length;1===n?(r=e,e=void 0):2===n&&(r=t,s(e)?(t=e,e=void 0):t=void 0),!s(t)&&a(r)&&(t=K(r.toString()));var i={id:e,uri:Q.resolve(e),deps:t,factory:r};if(!_&&!i.uri&&N.attachEvent){var o=J();o&&(i.uri=o.src)}l("define",i),i.uri?Q.save(i.uri,i):G=i},Q.save=function(e,t){var r=Q.get(e);r.status<M.SAVED&&(r.id=t.id||e,r.dependencies=t.deps||[],r.factory=t.factory,r.status=M.SAVED,l("save",r))},Q.get=function(e,t){return L[e]||(L[e]=new Q(e,t))},Q.use=function(t,r,n){var i=Q.get(n,s(t)?t:[t]);i._entry.push(i),i.history={},i.remain=1,i.callback=function(){for(var t=[],n=i.resolve(),o=0,s=n.length;o<s;o++)t[o]=L[n[o]].exec();r&&r.apply(e,t),delete i.callback,delete i.history,delete i.remain,delete i._entry},i.load()},r.use=function(e,t){return Q.use(e,t,n.cwd+"_use_"+V()),r},Q.define.amd={},e.define=Q.define,r.Module=Q,n.fetchedList=X,n.cid=V,r.require=function(e){var t=Q.get(Q.resolve(e));return t.status<M.EXECUTING&&(t.onload(),t.exec()),t.exports},e.require=r.require,n.base=E,n.dir=E,n.loader=x,n.cwd=w,n.charset="utf-8",r.config=function(e){for(var t in e){var o=e[t],a=n[t];if(a&&i(a))for(var u in o)a[u]=o[u];else s(a)?o=a.concat(o):"base"===t&&("/"!==o.slice(-1)&&(o+="/"),o=z(o)),n[t]=o}return l("config",e),r}}function F(e){return function(t){return{}.toString.call(t)=="[object "+e+"]"}}function V(){return c++}function $(e){return e.match(d)[0]}function H(e){var t=n.alias;return t&&o(t[e])?t[e]:e}function z(e,t){var r,i=e.charCodeAt(0);if(b.test(e))r=e;else if(46===i)r=(t?$(t):n.cwd)+e;else if(47===i){var o=n.cwd.match(m);r=o?o[0]+e.substring(1):e}else r=n.base+e;return 0===r.indexOf("//")&&(r=location.protocol+r),function(e){for(e=(e=e.replace(h,"/")).replace(v,"$1/");e.match(p);)e=e.replace(p,"/");return e}(r)}function J(){if(C)return C;if(O&&"interactive"===O.readyState)return O;for(var e=U.getElementsByTagName("script"),t=e.length-1;t>=0;t--){var r=e[t];if("interactive"===r.readyState)return O=r}}function K(e){var t=[];return e.replace(P,"").replace(R,function(e,r,n){n&&t.push(n)}),t}function Q(e,t){this.uri=e,this.dependencies=t||[],this.deps={},this.status=0,this._entry=[]}}(n);var i=n.seajs,o=n.define,s=n.require;t.default=i}])}); |
{ | ||
"name": "seajs-amd", | ||
"version": "1.0.2", | ||
"scripts": { | ||
"build": "cd lib && rm -rf sea.js && cd .. && webpack --mode production --config webpack.config.js" | ||
}, | ||
"main": "lib/sea.js", | ||
"typings": "types/index.d.ts", | ||
"files": [ | ||
"lib/", | ||
"types/", | ||
"webpack.config.js" | ||
], | ||
"devDependencies": { | ||
"webpack": "^4.17.1", | ||
"webpack-cli": "^3.1.0" | ||
}, | ||
"license": "MIT" | ||
"name": "seajs-amd", | ||
"version": "1.0.3", | ||
"scripts": { | ||
"build": "cd lib && rm -rf sea.js && cd .. && webpack --mode production --config webpack.config.js" | ||
}, | ||
"main": "lib/sea.js", | ||
"typings": "types/index.d.ts", | ||
"files": [ | ||
"lib/", | ||
"types/", | ||
"webpack.config.js" | ||
], | ||
"devDependencies": { | ||
"webpack": "^4.17.1", | ||
"webpack-cli": "^3.1.0" | ||
}, | ||
"license": "MIT" | ||
} |
export default interface seajs { | ||
use(ids: Array<string>, callback?: Function): seajs | ||
use(ids: string, callback?: Function): seajs | ||
} | ||
export function define(id: string, factory?: Function) | ||
export function define(id: string, deps: Array<string>, factory?: Function) | ||
export function require(id: string) |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
24696
3