mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -110,8 +110,8 @@ kit.ready(['collection', 'testing', 'flexKit'], function () {
|
||||
|
||||
assertSame(3, collection.keys().count(), 'keys');
|
||||
|
||||
xOb = {1: 1, 100: 100};
|
||||
x = new kit.Collection(xOb);
|
||||
var xOb = {1: 1, 100: 100};
|
||||
var x = new kit.Collection(xOb);
|
||||
x.push(200);
|
||||
assertSame(200, x.last(), 'object push last');
|
||||
x.push(0);
|
||||
@@ -139,7 +139,7 @@ kit.ready(['collection', 'testing', 'flexKit'], function () {
|
||||
assertSame(33, x.get('as', 33), 'get after forget');
|
||||
|
||||
xOb = {1: 10, 100: 101};
|
||||
x = new kit.Collection(xOb);
|
||||
var x = new kit.Collection(xOb);
|
||||
assertSame(101, x.pull(100), 'pull');
|
||||
assertSame(1, x.length, 'length after pull');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user