angular-loader
Advanced tools
Comparing version 1.5.8 to 1.6.0-rc.0
/** | ||
* @license AngularJS v1.5.8 | ||
* @license AngularJS v1.6.0-rc.0 | ||
* (c) 2010-2016 Google, Inc. http://angularjs.org | ||
@@ -90,3 +90,3 @@ * License: MIT | ||
message += '\nhttp://errors.angularjs.org/1.5.8/' + | ||
message += '\nhttp://errors.angularjs.org/1.6.0-rc.0/' + | ||
(module ? module + '/' : '') + code; | ||
@@ -194,5 +194,5 @@ | ||
if (!requires) { | ||
throw $injectorMinErr('nomod', "Module '{0}' is not available! You either misspelled " + | ||
"the module name or forgot to load it. If registering a module ensure that you " + | ||
"specify the dependencies as the second argument.", name); | ||
throw $injectorMinErr('nomod', 'Module \'{0}\' is not available! You either misspelled ' + | ||
'the module name or forgot to load it. If registering a module ensure that you ' + | ||
'specify the dependencies as the second argument.', name); | ||
} | ||
@@ -307,3 +307,3 @@ | ||
*/ | ||
decorator: invokeLaterAndSetModuleName('$provide', 'decorator'), | ||
decorator: invokeLaterAndSetModuleName('$provide', 'decorator', configBlocks), | ||
@@ -454,6 +454,7 @@ /** | ||
*/ | ||
function invokeLaterAndSetModuleName(provider, method) { | ||
function invokeLaterAndSetModuleName(provider, method, queue) { | ||
if (!queue) queue = invokeQueue; | ||
return function(recipeName, factoryFunction) { | ||
if (factoryFunction && isFunction(factoryFunction)) factoryFunction.$$moduleName = name; | ||
invokeQueue.push([provider, method, arguments]); | ||
queue.push([provider, method, arguments]); | ||
return moduleInstance; | ||
@@ -460,0 +461,0 @@ }; |
/* | ||
AngularJS v1.5.8 | ||
AngularJS v1.6.0-rc.0 | ||
(c) 2010-2016 Google, Inc. http://angularjs.org | ||
License: MIT | ||
*/ | ||
(function(){'use strict';function d(b){return function(){var a=arguments[0],e;e="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.5.8/"+(b?b+"/":"")+a;for(a=1;a<arguments.length;a++){e=e+(1==a?"?":"&")+"p"+(a-1)+"=";var d=encodeURIComponent,c;c=arguments[a];c="function"==typeof c?c.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof c?"undefined":"string"!=typeof c?JSON.stringify(c):c;e+=d(c)}return Error(e)}}(function(b){function a(c,a,b){return c[a]||(c[a]=b())}var e=d("$injector"),n=d("ng"); | ||
b=a(b,"angular",Object);b.$$minErr=b.$$minErr||d;return a(b,"module",function(){var c={};return function(b,d,h){if("hasOwnProperty"===b)throw n("badname","module");d&&c.hasOwnProperty(b)&&(c[b]=null);return a(c,b,function(){function c(a,b,d,e){e||(e=f);return function(){e[d||"push"]([a,b,arguments]);return g}}function a(c,e){return function(a,d){d&&"function"===typeof d&&(d.$$moduleName=b);f.push([c,e,arguments]);return g}}if(!d)throw e("nomod",b);var f=[],k=[],l=[],m=c("$injector","invoke","push", | ||
k),g={_invokeQueue:f,_configBlocks:k,_runBlocks:l,requires:d,name:b,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:c("$provide","value"),constant:c("$provide","constant","unshift"),decorator:a("$provide","decorator"),animation:a("$animateProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),component:a("$compileProvider","component"),config:m,run:function(a){l.push(a); | ||
return this}};h&&m(h);return g})}})})(window)})(window); | ||
(function(){'use strict';function g(a,c){c=c||Error;return function(){var d=arguments[0],e;e="["+(a?a+":":"")+d+"] http://errors.angularjs.org/1.6.0-rc.0/"+(a?a+"/":"")+d;for(d=1;d<arguments.length;d++){e=e+(1==d?"?":"&")+"p"+(d-1)+"=";var n=encodeURIComponent,b;b=arguments[d];b="function"==typeof b?b.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof b?"undefined":"string"!=typeof b?JSON.stringify(b):b;e+=n(b)}return new c(e)}}(function(a){function c(a,b,d){return a[b]||(a[b]=d())}var d=g("$injector"), | ||
e=g("ng");a=c(a,"angular",Object);a.$$minErr=a.$$minErr||g;return c(a,"module",function(){var a={};return function(b,g,k){if("hasOwnProperty"===b)throw e("badname","module");g&&a.hasOwnProperty(b)&&(a[b]=null);return c(a,b,function(){function a(b,d,c,f){f||(f=e);return function(){f[c||"push"]([b,d,arguments]);return h}}function f(a,d,c){c||(c=e);return function(f,e){e&&"function"===typeof e&&(e.$$moduleName=b);c.push([a,d,arguments]);return h}}if(!g)throw d("nomod",b);var e=[],c=[],l=[],m=a("$injector", | ||
"invoke","push",c),h={_invokeQueue:e,_configBlocks:c,_runBlocks:l,requires:g,name:b,provider:f("$provide","provider"),factory:f("$provide","factory"),service:f("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),decorator:f("$provide","decorator",c),animation:f("$animateProvider","register"),filter:f("$filterProvider","register"),controller:f("$controllerProvider","register"),directive:f("$compileProvider","directive"),component:f("$compileProvider","component"), | ||
config:m,run:function(a){l.push(a);return this}};k&&m(k);return h})}})})(window)})(window); | ||
//# sourceMappingURL=angular-loader.min.js.map |
{ | ||
"name": "angular-loader", | ||
"version": "1.5.8", | ||
"version": "1.6.0-rc.0", | ||
"license": "MIT", | ||
@@ -8,4 +8,4 @@ "main": "./angular-loader.js", | ||
"dependencies": { | ||
"angular": "1.5.8" | ||
"angular": "1.6.0-rc.0" | ||
} | ||
} |
{ | ||
"name": "angular-loader", | ||
"version": "1.5.8", | ||
"version": "1.6.0-rc.0", | ||
"description": "AngularJS module for asynchronously loading modules", | ||
@@ -5,0 +5,0 @@ "main": "angular-loader.js", |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
27007
2