Index: src/object-observe.js |
diff --git a/src/object-observe.js b/src/object-observe.js |
index 6f4f20f078178d791c8b3ae3fb5474c53465cf55..dfd3a4865287c978e63e1330cec2dd8897c19e79 100644 |
--- a/src/object-observe.js |
+++ b/src/object-observe.js |
@@ -2,13 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-var $observeNotifyChange; |
var $observeEnqueueSpliceRecord; |
var $observeBeginPerformSplice; |
var $observeEndPerformSplice; |
-var $observeNativeObjectObserve; |
-var $observeNativeObjectGetNotifier; |
-var $observeNativeObjectNotifierPerformChange; |
var $observeObjectMethods; |
var $observeArrayMethods; |
@@ -703,12 +699,19 @@ var removePrototypeFn = function(f, i) { |
$observeObjectMethods.forEach(removePrototypeFn); |
$observeArrayMethods.forEach(removePrototypeFn); |
-$observeNotifyChange = NotifyChange; |
$observeEnqueueSpliceRecord = EnqueueSpliceRecord; |
$observeBeginPerformSplice = BeginPerformSplice; |
$observeEndPerformSplice = EndPerformSplice; |
-$observeNativeObjectObserve = NativeObjectObserve; |
-$observeNativeObjectGetNotifier = NativeObjectGetNotifier; |
-$observeNativeObjectNotifierPerformChange = NativeObjectNotifierPerformChange; |
+ |
+utils.ExportToRuntime(function(to) { |
+ to.ObserveNotifyChange = NotifyChange; |
+ to.ObserveEnqueueSpliceRecord = EnqueueSpliceRecord; |
+ to.ObserveBeginPerformSplice = BeginPerformSplice; |
+ to.ObserveEndPerformSplice = EndPerformSplice; |
+ to.ObserveNativeObjectObserve = NativeObjectObserve; |
+ to.ObserveNativeObjectGetNotifier = NativeObjectGetNotifier; |
+ to.ObserveNativeObjectNotifierPerformChange = |
+ NativeObjectNotifierPerformChange; |
+}); |
}) |