angular-q-spread
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "angular-q-spread", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/showpad/angular-q-spread", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -6,5 +6,5 @@ (function (angular) { | ||
.module('$q-spread', []) | ||
.config(function ($provide) { | ||
.config(['$provide', function ($provide) { | ||
$provide.decorator('$q', function ($delegate) { | ||
$provide.decorator('$q', ['$delegate', function ($delegate) { | ||
@@ -34,4 +34,4 @@ var originalAll = $delegate.all; | ||
return $delegate; | ||
}); | ||
}); | ||
}]); | ||
}]); | ||
})(window.angular); |
@@ -1,1 +0,1 @@ | ||
!function(n){"use strict";n.module("$q-spread",[]).config(function(n){n.decorator("$q",function(n){var o=n.all;return n.all=function(n){var r=o(n);return r.spread=function(n,o){function t(o){n.apply(void 0,o)}r.then(t,o)},r},n})})}(window.angular); | ||
!function(n){"use strict";n.module("$q-spread",[]).config(["$provide",function(n){n.decorator("$q",["$delegate",function(n){var o=n.all;return n.all=function(n){var r=o(n);return r.spread=function(n,o){function t(o){n.apply(void 0,o)}r.then(t,o)},r},n}])}])}(window.angular); |
{ | ||
"name": "angular-q-spread", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Add `spread` method to the promise of $q.all", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
[![GitHub version](https://badge.fury.io/gh/showpad%2Fangular-q-spread.svg)](http://badge.fury.io/gh/showpad%2Fangular-q-spread) | ||
[![Bower version](https://badge.fury.io/bo/angular-q-spread.svg)](http://badge.fury.io/bo/angular-q-spread) | ||
[![NPM version](https://badge.fury.io/js/angular-q-spread.svg)](http://badge.fury.io/js/angular-q-spread) | ||
[![Build Status](https://travis-ci.org/showpad/angular-q-spread.svg)](https://travis-ci.org/showpad/angular-q-spread) | ||
@@ -4,0 +6,0 @@ |
@@ -6,5 +6,5 @@ (function (angular) { | ||
.module('$q-spread', []) | ||
.config(function ($provide) { | ||
.config(['$provide', function ($provide) { | ||
$provide.decorator('$q', function ($delegate) { | ||
$provide.decorator('$q', ['$delegate', function ($delegate) { | ||
@@ -34,4 +34,4 @@ var originalAll = $delegate.all; | ||
return $delegate; | ||
}); | ||
}); | ||
}]); | ||
}]); | ||
})(window.angular); |
Sorry, the diff of this file is not supported yet
14062
16
53