Skip to content

Commit 4ec1c25

Browse files
committed
Fixed extenders for depencie observables.
Now using observable._getValue() instead of observable.__value__
1 parent 1da5484 commit 4ec1c25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/query/ExtenderHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ define([
115115
executeOperationsChunk: function (observable, operations) {
116116
var action = Action.NOOP;
117117

118-
var collection = observable.__value__;
118+
var collection = observable._getValue();
119119
var view = observable.view;
120120
// key = index of the __value__ array, value = index of the same value in the view
121121
var connections = view._connections;
@@ -180,7 +180,7 @@ define([
180180

181181
if (sorted) {
182182
// create sortedConnections to match the sorted collection to connections
183-
blocks.each(observable.__value__, function (original, originalIndex) {
183+
blocks.each(observable._getValue(), function (original, originalIndex) {
184184
blocks.each(collection, function (value, newIndex) {
185185
if (value == original) {
186186
sortedConnections[newIndex] = originalIndex;

0 commit comments

Comments
 (0)