From 6c0baa978a55d4b6466c678acc88775cc3a21900 Mon Sep 17 00:00:00 2001 From: Erik Arvidsson Date: Fri, 6 Sep 2013 15:43:57 -0400 Subject: [PATCH] Add back ArrayObserver.calculateSplices --- src/observe.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/observe.js b/src/observe.js index 3669f01..4cc88d7 100644 --- a/src/observe.js +++ b/src/observe.js @@ -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;