Skip to content

Commit 16671a2

Browse files
committed
1 parent 3ff1ea8 commit 16671a2

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

test/unit/collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@
5858
assert.deepEqual(_col.select("t => t * 2").where("t => t > 5").toArray(), [6, 8, 10], "select-where-toArray over a collection!");
5959
});
6060

61-
})(window);
61+
})();

test/unit/dictionary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,4 @@
209209
assert.ok(_dic.toArray()[0].key === 1 && _dic.toArray()[0].value === "A", "dictionary select key-value items!");
210210
});
211211

212-
})(window);
212+
})();

test/unit/hashset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,4 +276,4 @@
276276
});
277277

278278

279-
})(window);
279+
})();

test/unit/linkedlist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,4 @@
214214
assert.deepEqual(_list.select("t => t * 2").where("t => t > 5").toArray(), [6, 8, 10], "select-where-toArray over a linked-list!");
215215
});
216216

217-
})(window);
217+
})();

test/unit/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,4 @@
366366

367367
assert.deepEqual(_list.select("t => t * 2").where("t => t > 5").toArray(), [6, 8, 10], "select-where-toArray over a list!");
368368
});
369-
})(window);
369+
})();

test/unit/lookup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
assert.deepEqual(_lookup.select("t => t.count()").toArray(), [2, 1, 2, 3], "lookup select items count!");
5555
});
5656

57-
})(window);
57+
})();

test/unit/mx.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// <reference path="../data/_references.js" />
22

33

4-
(function (global) {
4+
(function () {
55

66
var Enumerator = mx.Enumerator;
77

@@ -55,8 +55,8 @@
5555

5656

5757
QUnit.test("Multiplex Iterable", function (assert) {
58-
if (global.Set) {
59-
var _set = new global.Set(),
58+
if (window.Set) {
59+
var _set = new window.Set(),
6060
_source = mx(_set);
6161

6262
_set.add(1);
@@ -138,8 +138,8 @@
138138
assert.ok(mx.is([1]), "Array Passed!");
139139
assert.ok(mx.is("mx"), "String Passed!");
140140

141-
if (global.Set) {
142-
assert.ok(mx.is(new global.Set([1, 2, 3])), "Iterable Passed!");
141+
if (window.Set) {
142+
assert.ok(mx.is(new window.Set([1, 2, 3])), "Iterable Passed!");
143143
}
144144

145145
assert.ok(mx.is({
@@ -167,4 +167,4 @@
167167
catch (e) { assert.ok(true, "Generator not implemented by the browser"); }
168168
});
169169

170-
})(window);
170+
})();

test/unit/queue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@
105105
assert.deepEqual(_queue.select("t => t * 2").where("t => t > 5").toArray(), [6, 8, 10], "select-where-toArray over a queue!");
106106
});
107107

108-
})(window);
108+
})();

test/unit/readonlycollection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@
100100
});
101101

102102

103-
})(window);
103+
})();

test/unit/sortedlist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,4 @@
283283
assert.deepEqual(_list2.keys().select("t => t.id").toArray(), [1, 2, 3, 4, 5], "evaluate sorted keys after multiple add/remove using specified comparer!");
284284
});
285285

286-
})(window);
286+
})();

0 commit comments

Comments
 (0)