require-basket-load-compiled.js.map 1.7 KB

1
  1. {"version":3,"sources":["require-basket-load.js"],"names":[],"mappings":"AAAA,CAAE,aAAY;AACV,QAAI,kBAAkB,UAAU,IAAhC;AACA,cAAU,IAAV,GAAiB,UAAU,OAAV,EAAmB,UAAnB,EAA+B,GAA/B,EAAoC;AACjD,YAAI,SAAS,UAAU,CAAV,CAAY,QAAZ,CAAqB,CAArB,CAAuB,MAApC;AACA,YAAI,OAAO,MAAP,IAAiB,OAAO,MAAP,CAAc,QAA/B,IAA2C,OAAO,MAAP,CAAc,QAAd,CAAuB,OAAvB,CAA+B,UAA/B,MAA+C,CAAC,CAA/F,EAAkG;AAC9F,4BAAgB,OAAhB,EAAyB,UAAzB,EAAqC,GAArC;AACH,SAFD,MAEO;AACH,gBAAI,SAAS,CAAb;AACA,gBAAG,OAAO,MAAP,IAAiB,OAAO,MAAP,CAAc,MAA/B,IAAyC,OAAO,MAAP,CAAc,MAAd,CAAqB,cAArB,CAAoC,UAApC,CAA5C,EAA6F;AACzF,yBAAS,OAAO,MAAP,CAAc,MAAd,CAAqB,UAArB,CAAT;AACH;AACD,mBAAO,OAAP,CAAe,EAAE,KAAK,GAAP,EAAW,QAAO,MAAlB,EAAf,EAA2C,IAA3C,CAAgD,YAAY;AACxD,wBAAQ,YAAR,CAAqB,UAArB;AACH,aAFD,EAEG,UAAU,KAAV,EAAiB;AAChB,wBAAQ,OAAR,CAAgB,KAAhB;AACH,aAJD;AAKH;AACJ,KAfD;AAgBH,CAlBC,GAAD","file":"require-basket-load-compiled.js","sourcesContent":[";(function () {\r\n var original_loader = requirejs.load;\r\n requirejs.load = function (context, moduleName, url) {\r\n var config = requirejs.s.contexts._.config;\r\n if (config.basket && config.basket.excludes && config.basket.excludes.indexOf(moduleName) !== -1) {\r\n original_loader(context, moduleName, url);\r\n } else {\r\n var unique = 1;\r\n if(config.basket && config.basket.unique && config.basket.unique.hasOwnProperty(moduleName) ){\r\n unique = config.basket.unique[moduleName];\r\n }\r\n basket.require({ url: url,unique:unique }).then(function () {\r\n context.completeLoad(moduleName);\r\n }, function (error) {\r\n context.onError(error);\r\n });\r\n }\r\n };\r\n}());"]}