-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #190
- Loading branch information
Showing
7 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
* angular-cache | ||
* @version 4.3.0 - Homepage <http://jmdobry.github.io/angular-cache/> | ||
* @version 4.3.1 - Homepage <http://jmdobry.github.io/angular-cache/> | ||
* @author Jason Dobry <[email protected]> | ||
* @copyright (c) 2013-2015 Jason Dobry | ||
* @license MIT <https://github.com/jmdobry/angular-cache/blob/master/LICENSE> | ||
|
@@ -108,7 +108,7 @@ return /******/ (function(modules) { // webpackBootstrap | |
|
||
/*! | ||
* cachefactory | ||
* @version 1.0.1 - Homepage <http://jmdobry.github.io/cachefactory/> | ||
* @version 1.0.2 - Homepage <http://jmdobry.github.io/cachefactory/> | ||
* @author Jason Dobry <[email protected]> | ||
* @copyright (c) 2013-2015 Jason Dobry | ||
* @license MIT <https://github.com/jmdobry/cachefactory/blob/master/LICENSE> | ||
|
@@ -172,6 +172,11 @@ return /******/ (function(modules) { // webpackBootstrap | |
/***/ function(module, exports, __webpack_require__) { | ||
|
||
var BinaryHeap = __webpack_require__(1); | ||
var _Promise = null; | ||
try { | ||
_Promise = window.Promise; | ||
} catch (e) {} | ||
|
||
var utils = { | ||
isNumber: function isNumber(val) { | ||
return typeof val === 'number'; | ||
|
@@ -197,7 +202,7 @@ return /******/ (function(modules) { // webpackBootstrap | |
return a === b; | ||
}, | ||
|
||
Promise: Promise | ||
Promise: _Promise | ||
}; | ||
|
||
var _keys = function _keys(collection) { | ||
|
@@ -490,7 +495,11 @@ return /******/ (function(modules) { // webpackBootstrap | |
} | ||
} | ||
if (isError) { | ||
return utils.Promise.reject(v); | ||
if (utils.Promise) { | ||
return utils.Promise.reject(v); | ||
} else { | ||
throw v; | ||
} | ||
} else { | ||
return v; | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters