H A D | collection.js | 25 return m1.id > m2.id ? -1 : 1; 442 m2.on('remove', function() { 447 assert.notEqual(m1, m2); 719 assert.equal(col.reduce(function(m1, m2) {return m1.id > m2.id ? m1 : m2;}).id, 3); argument 720 assert.equal(col.reduceRight(function(m1, m2) {return m1.id > m2.id ? m1 : m2;}).id, 3); argument 1247 collection.set([m1, m2]); 1251 collection.set([m1, m1, m1, m2, m2], {remove: false}); 1258 var m2 = {_id: 2}; class in AnonymousFunctionf8dce19e9600 1265 collection.set([m1, m2]); 1269 collection.set([m1, m1, m1, m2, m2], {remove: false}); [all …]
|