angular-bluebird-promises
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "angular-bluebird-promises", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/mattlewis92/angular-bluebird-promises", | ||
@@ -5,0 +5,0 @@ "authors": [ |
<a name="1.0.0"></a> | ||
# [1.0.0](https://github.com/mattlewis92/angular-bluebird-promises/compare/1.0.0...v1.0.0) (2015-12-16) | ||
### Bug Fixes | ||
* **commonjs:** fix requiring the module with webpack + browserify. Closes 23 ([1f0c688](https://github.com/mattlewis92/angular-bluebird-promises/commit/1f0c688)) | ||
<a name="1.0.0"></a> | ||
# [1.0.0](https://github.com/mattlewis92/angular-bluebird-promises/compare/0.6.4...v1.0.0) (2015-12-16) | ||
* Stable API |
/** | ||
* angular-bluebird-promises - Replaces $q with bluebirds promise API | ||
* @version v1.0.0 | ||
* @version v1.0.1 | ||
* @link https://github.com/mattlewis92/angular-bluebird-promises | ||
@@ -154,2 +154,3 @@ * @license MIT | ||
exports.default = ngModule.name; | ||
module.exports = exports['default']; | ||
@@ -156,0 +157,0 @@ /***/ }, |
/** | ||
* angular-bluebird-promises - Replaces $q with bluebirds promise API | ||
* @version v1.0.0 | ||
* @version v1.0.1 | ||
* @link https://github.com/mattlewis92/angular-bluebird-promises | ||
* @license MIT | ||
*/ | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("angular"),require("bluebird")):"function"==typeof define&&define.amd?define(["angular","bluebird"],r):"object"==typeof exports?exports.angularBluebirdPromisesModuleName=r(require("angular"),require("bluebird")):e.angularBluebirdPromisesModuleName=r(e.angular,e.Promise)}(this,function(e,r){return function(e){function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function u(e,r){return new s["default"](e,r)}Object.defineProperty(r,"__esModule",{value:!0});var l=t(1),i=o(l),a=t(2),s=o(a);u.prototype=s["default"].prototype,i["default"].extend(u,s["default"]),u.defer=function(){var e={};return e.promise=u(function(r,t){e.resolve=r,e.reject=t}),e.promise.progressCallbacks=[],e.notify=function(r){e.promise.progressCallbacks.forEach(function(e){return"function"==typeof e&&e(r)})},e},u.reject=u.rejected,u.when=u.cast;var c=u.all;u.all=function(e){return"object"!==("undefined"==typeof e?"undefined":n(e))||Array.isArray(e)?c(e):u.props(e)};var f=u.prototype.then;u.prototype.then=function(e,r,t){return this.progressCallbacks&&this.progressCallbacks.push(t),f.call(this,e,r,t)};var p=u.prototype["finally"];u.prototype["finally"]=function(e,r){return this.progressCallbacks&&this.progressCallbacks.push(r),p.call(this,e)},u.onPossiblyUnhandledRejection(i["default"].noop);var d=i["default"].module("mwl.bluebird",[]).constant("Bluebird",u).config(["$provide","Bluebird",function(e,r){e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(e,r){r.setScheduler(function(r){return e.$evalAsync(r)})}]);r["default"]=d.name},function(r,t){r.exports=e},function(e,t){e.exports=r}])}); | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("angular"),require("bluebird")):"function"==typeof define&&define.amd?define(["angular","bluebird"],r):"object"==typeof exports?exports.angularBluebirdPromisesModuleName=r(require("angular"),require("bluebird")):e.angularBluebirdPromisesModuleName=r(e.angular,e.Promise)}(this,function(e,r){return function(e){function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function u(e,r){return new s["default"](e,r)}Object.defineProperty(r,"__esModule",{value:!0});var l=t(1),i=o(l),a=t(2),s=o(a);u.prototype=s["default"].prototype,i["default"].extend(u,s["default"]),u.defer=function(){var e={};return e.promise=u(function(r,t){e.resolve=r,e.reject=t}),e.promise.progressCallbacks=[],e.notify=function(r){e.promise.progressCallbacks.forEach(function(e){return"function"==typeof e&&e(r)})},e},u.reject=u.rejected,u.when=u.cast;var f=u.all;u.all=function(e){return"object"!==("undefined"==typeof e?"undefined":n(e))||Array.isArray(e)?f(e):u.props(e)};var c=u.prototype.then;u.prototype.then=function(e,r,t){return this.progressCallbacks&&this.progressCallbacks.push(t),c.call(this,e,r,t)};var p=u.prototype["finally"];u.prototype["finally"]=function(e,r){return this.progressCallbacks&&this.progressCallbacks.push(r),p.call(this,e)},u.onPossiblyUnhandledRejection(i["default"].noop);var d=i["default"].module("mwl.bluebird",[]).constant("Bluebird",u).config(["$provide","Bluebird",function(e,r){e.decorator("$q",function(){return r})}]).run(["$rootScope","Bluebird",function(e,r){r.setScheduler(function(r){return e.$evalAsync(r)})}]);r["default"]=d.name,e.exports=r["default"]},function(r,t){r.exports=e},function(e,t){e.exports=r}])}); | ||
//# sourceMappingURL=angular-bluebird-promises.min.js.map |
@@ -15,3 +15,3 @@ 'use strict'; | ||
test: /\.js$/, | ||
loader: 'babel?presets[]=es2015', | ||
loader: 'babel', | ||
exclude: /node_modules/ | ||
@@ -18,0 +18,0 @@ }] |
{ | ||
"name": "angular-bluebird-promises", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Replaces $q with bluebirds promise API", | ||
@@ -25,2 +25,3 @@ "main": "dist/angular-bluebird-promises.js", | ||
"babel-loader": "~6.2.0", | ||
"babel-plugin-add-module-exports": "~0.1.1", | ||
"babel-polyfill": "~6.3.14", | ||
@@ -27,0 +28,0 @@ "babel-preset-es2015": "~6.3.13", |
@@ -13,3 +13,3 @@ # Angular bluebird promises | ||
https://github.com/petkaantonov/bluebird/blob/master/API.md | ||
http://bluebirdjs.com/docs/api-reference.html | ||
@@ -16,0 +16,0 @@ ## Installation |
@@ -44,3 +44,3 @@ 'use strict'; | ||
test: /.*\.js$/, | ||
loader: 'ng-annotate?regexp=angular.*?\\.module\\(.*?\\)$!babel?presets[]=es2015', | ||
loader: 'ng-annotate?regexp=angular.*?\\.module\\(.*?\\)$!babel', | ||
exclude: /node_modules/ | ||
@@ -47,0 +47,0 @@ }] |
@@ -31,3 +31,3 @@ 'use strict'; | ||
test: /\.js$/, | ||
loader: 'babel?presets[]=es2015', | ||
loader: 'babel', | ||
exclude: /node_modules/ | ||
@@ -34,0 +34,0 @@ }] |
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
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
45328
20
586
24