angular-data
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -0,1 +1,6 @@ | ||
##### 1.5.3 - 03 December 2014 | ||
###### Backwards compatible bug fixes | ||
- #263 - bower: update bower.json acc to the spec | ||
##### 1.5.2 - 03 December 2014 | ||
@@ -2,0 +7,0 @@ |
{ | ||
"name": "angular-data", | ||
"description": "Data store for Angular.js.", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"homepage": "http://angular-data.pseudobry.com", | ||
@@ -15,2 +15,3 @@ "repository": { | ||
}, | ||
"main": "dist/angular-data.js", | ||
"licenses": [ | ||
@@ -17,0 +18,0 @@ { |
@@ -11,3 +11,3 @@ ## angular-data [](http://waffle.io/jmdobry/angular-data) [](http://waffle.io/jmdobry/angular-data) [](http://waffle.io/jmdobry/angular-data) | ||
__Latest Release:__ [1.5.2](https://github.com/jmdobry/angular-data/releases/tag/1.5.2) | ||
__Latest Release:__ [1.5.3](https://github.com/jmdobry/angular-data/releases/tag/1.5.3) | ||
@@ -14,0 +14,0 @@ Angular-data is finally 1.0.! |
@@ -1,3 +0,1 @@ | ||
var observe = require('../../lib/observe-js/observe-js'); | ||
function lifecycleNoop(resourceName, attrs, cb) { | ||
@@ -802,3 +800,3 @@ cb(null, attrs); | ||
$rootScope.$watch(function () { | ||
observe.Platform.performMicrotaskCheckpoint(); | ||
DSUtils.observe.Platform.performMicrotaskCheckpoint(); | ||
}); | ||
@@ -805,0 +803,0 @@ } |
@@ -1,3 +0,1 @@ | ||
var observe = require('../../../lib/observe-js/observe-js'); | ||
/** | ||
@@ -25,8 +23,9 @@ * @doc method | ||
function digest() { | ||
if (!this.$rootScope.$$phase) { | ||
this.$rootScope.$apply(function () { | ||
observe.Platform.performMicrotaskCheckpoint(); | ||
var _this = this; | ||
if (!_this.$rootScope.$$phase) { | ||
_this.$rootScope.$apply(function () { | ||
_this.utils.observe.Platform.performMicrotaskCheckpoint(); | ||
}); | ||
} else { | ||
observe.Platform.performMicrotaskCheckpoint(); | ||
_this.utils.observe.Platform.performMicrotaskCheckpoint(); | ||
} | ||
@@ -33,0 +32,0 @@ } |
@@ -1,2 +0,1 @@ | ||
var observe = require('../../../lib/observe-js/observe-js'); | ||
var _compute = require('./compute')._compute; | ||
@@ -159,3 +158,3 @@ | ||
resource.changeHistories[id] = []; | ||
resource.observers[id] = new observe.ObjectObserver(item); | ||
resource.observers[id] = new DSUtils.observe.ObjectObserver(item); | ||
resource.observers[id].open(_react, item); | ||
@@ -162,0 +161,0 @@ resource.index.put(id, item); |
@@ -59,3 +59,2 @@ var DSErrors = require('./errors'); | ||
var isRegExp = require('mout/lang/isRegExp'); | ||
var deepEquals = angular.equals; | ||
@@ -77,3 +76,2 @@ | ||
isEmpty: require('mout/lang/isEmpty'), | ||
isRegExp: isRegExp, | ||
toJson: JSON.stringify, | ||
@@ -80,0 +78,0 @@ fromJson: angular.fromJson, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
574986
13805