Skip to content

Commit d1fe8ed

Browse files
committed
remove arrays linq dependency
1 parent cb39274 commit d1fe8ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/javascript/multiplex.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@
14311431
* @param {Number} arrayIndex The zero-based index in array at which copying begins.
14321432
*/
14331433
copyTo: function (array, arrayIndex) {
1434-
$bufferTo(this.items(), array, arrayIndex);
1434+
$bufferTo(this, array, arrayIndex);
14351435
},
14361436

14371437
/**
@@ -3872,7 +3872,7 @@
38723872
* @param {Number} arrayIndex The zero-based index in array at which copying begins.
38733873
*/
38743874
copyTo: function (array, arrayIndex) {
3875-
$bufferTo($prop(this), array, arrayIndex);
3875+
$bufferTo(this, array, arrayIndex);
38763876
},
38773877

38783878
/**
@@ -3983,7 +3983,7 @@
39833983
* @param {Number} arrayIndex The zero-based index in array at which copying begins.
39843984
*/
39853985
copyTo: function (array, arrayIndex) {
3986-
$bufferTo($prop(this), array, arrayIndex);
3986+
$bufferTo(this, array, arrayIndex);
39873987
},
39883988

39893989
/**

test/unit/linq.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
_arr3 = CreateComplexObjectLiteralArray();
244244

245245
assert.ok(mx(_arr1).except(CreateNumberArray()).count() === 0, "Array of first 10 numbers except first 10 numbers!");
246-
assert.deepEqual(_arr1.except([0, 1, 2, 3, 4]).toArray(), [5, 6, 7, 8, 9], "Array of first 10 numbers except first 5 numbers!");
246+
assert.deepEqual(mx(_arr1).except([0, 1, 2, 3, 4]).toArray(), [5, 6, 7, 8, 9], "Array of first 10 numbers except first 5 numbers!");
247247
assert.ok(mx(_arr2).except([{}]).count() === 0, "Array of 10 empty object literal except an empty object literal!");
248248
assert.ok(mx(_arr3).except([{ name: "n5", inner: null }]).count() === 10, "Array of 10 distinct complex object literal without equality-comparer!");
249249
assert.ok(mx(_arr3).except([{ name: "n5", inner: null }], {

0 commit comments

Comments
 (0)