Skip to content

Commit

Permalink
Stable Version 4.3.1.
Browse files Browse the repository at this point in the history
Fixes #190
  • Loading branch information
jmdobry committed Jul 7, 2015
1 parent 43b547d commit ac58584
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##### 4.3.1 07 July 2015

- #190 - 4.3 breaks phantomJS tests

##### 4.3.0 06 July 2015

- #189 - Extracted non-angular code.
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = function (grunt) {
singleRun: false
},
min: {
browsers: ['Chrome', 'Firefox'],
browsers: ['Chrome', 'Firefox', 'PhantomJS'],
options: {
files: [
'bower_components/angular-1.2.25/angular.js',
Expand Down
17 changes: 13 additions & 4 deletions dist/angular-cache.js
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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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';
Expand All @@ -197,7 +202,7 @@ return /******/ (function(modules) { // webpackBootstrap
return a === b;
},

Promise: Promise
Promise: _Promise
};

var _keys = function _keys(collection) {
Expand Down Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-cache.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-cache.min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = function (config) {
config.set({
basePath: './',
frameworks: ['mocha', 'chai', 'sinon'],
browsers: ['Chrome', 'Firefox'],
browsers: ['Chrome', 'Firefox', 'PhantomJS'],
files: [
'bower_components/angular-1.2.25/angular.js',
'bower_components/angular-resource/angular-resource.js',
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-cache",
"description": "angular-cache is a very useful replacement for Angular's $cacheFactory.",
"version": "4.3.0",
"version": "4.3.1",
"homepage": "http://jmdobry.github.io/angular-cache/",
"main": "dist/angular-cache.js",
"repository": {
Expand Down Expand Up @@ -43,6 +43,7 @@
"karma-script-launcher": "0.1.0",
"karma-sinon": "1.0.4",
"mocha": "2.2.5",
"phantomjs": "^1.9.17",
"sinon": "1.15.4",
"time-grunt": "1.2.1",
"webpack-dev-server": "1.10.1"
Expand All @@ -54,6 +55,6 @@
"angular": ">=1.x"
},
"dependencies": {
"cachefactory": "1.x"
"cachefactory": "1.0.2"
}
}

0 comments on commit ac58584

Please sign in to comment.