angular-q-spread
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "angular-q-spread", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"homepage": "https://github.com/showpad/angular-q-spread", | ||
@@ -20,4 +20,5 @@ "description": "Add `spread` method to the promise of $q.all", | ||
"angular-mocks": ">=1.2", | ||
"angular-scenario": ">=1.2" | ||
"angular-scenario": ">=1.2", | ||
"angular": ">=1.2" | ||
} | ||
} |
# angular-q-spread changelog | ||
### 1.2.0 | ||
* Fix issues with `all`, `race`, ... closes #14 | ||
### 1.1.0 | ||
@@ -20,2 +23,2 @@ * Add `spread` on every promise | ||
## 1.0.0 | ||
Initial release | ||
Initial release |
@@ -28,9 +28,12 @@ (function (angular) { | ||
}); | ||
return originalDefer(); | ||
}; | ||
// Init a defer to prevent issues with `all`, `race`, ... | ||
$delegate.defer(); | ||
return $delegate; | ||
}]); | ||
}]); | ||
})(window.angular); | ||
})(window.angular); |
@@ -1,1 +0,1 @@ | ||
!function(e){"use strict";e.module("$q-spread",[]).config(["$provide",function(e){e.decorator("$q",["$delegate",function(e){var r=e.defer;return e.defer=function(){var e=r().promise.constructor.prototype;return Object.defineProperty(e,"spread",{value:function(e,r){function n(r){return e.apply(void 0,r)}return this.then(n,r)},writable:!0,enumerable:!1}),r()},e}])}])}(window.angular); | ||
!function(e){"use strict";e.module("$q-spread",[]).config(["$provide",function(e){e.decorator("$q",["$delegate",function(e){var r=e.defer;return e.defer=function(){var e=r().promise.constructor.prototype;return Object.defineProperty(e,"spread",{value:function(e,r){function n(r){return e.apply(void 0,r)}return this.then(n,r)},writable:!0,enumerable:!1}),r()},e.defer(),e}])}])}(window.angular); |
{ | ||
"name": "angular-q-spread", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Add `spread` method to the promise of $q.all", | ||
@@ -31,2 +31,3 @@ "main": "index.js", | ||
"gulp-uglify": "1.2.0", | ||
"jasmine-core": "^2.8.0", | ||
"jshint-stylish": "2.0.1", | ||
@@ -33,0 +34,0 @@ "karma": "0.13.2", |
@@ -28,9 +28,12 @@ (function (angular) { | ||
}); | ||
return originalDefer(); | ||
}; | ||
// Init a defer to prevent issues with `all`, `race`, ... | ||
$delegate.defer(); | ||
return $delegate; | ||
}]); | ||
}]); | ||
})(window.angular); | ||
})(window.angular); |
24127
398
12