Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Add back ArrayObserver.calculateSplices
Browse files Browse the repository at this point in the history
  • Loading branch information
arv committed Sep 6, 2013
1 parent 270ad47 commit 6c0baa9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/observe.js
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,10 @@
global.Observer = Observer;
global.Observer.hasObjectObserve = hasObserve;
global.ArrayObserver = ArrayObserver;
global.ArrayObserver.calculateSplices = function(current, previous) {
return arraySplice.calculateSplices(current, previous);
};

global.ArraySplice = ArraySplice;
global.ObjectObserver = ObjectObserver;
global.PathObserver = PathObserver;
Expand Down

0 comments on commit 6c0baa9

Please sign in to comment.