Lines Matching refs:c
3 var a, b, c, d, e, col, otherCol; variable
10 c = new Backbone.Model({id: 1, label: 'c'});
13 col = new Backbone.Collection([a, b, c, d]);
83 assert.equal(col.get({id: 1}), c);
84 assert.equal(col.get(c.clone()), c);
108 assert.ok(col.has(c));
112 assert.ok(col.has(c.id));
116 assert.ok(col.has(c.cid));
141 assert.equal(col.at(2), c);
142 assert.equal(col.at(-2), c);
360 result = col.remove([c, d]);
362 assert.equal(result[0], c, 'only returns removed models');
363 result = col.remove([c, b]);
406 var collection = new Backbone.Collection([{a: 'a'}, {b: 'b'}, {c: 'c'}]);
413 var collection = new Backbone.Collection([{a: 'a'}, {b: 'b'}, {c: 'c'}]);
737 assert.deepEqual(col.difference([c, d]), [a, b]);
752 {a: 2, b: 1, c: 1},