mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Update vendor/backbone to v1.3.3.
This commit is contained in:
4
vendor/backbone/backbone.js
vendored
4
vendor/backbone/backbone.js
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Backbone.js 1.3.2
|
// Backbone.js 1.3.3
|
||||||
|
|
||||||
// (c) 2010-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
// (c) 2010-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||||
// Backbone may be freely distributed under the MIT license.
|
// Backbone may be freely distributed under the MIT license.
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
var slice = Array.prototype.slice;
|
var slice = Array.prototype.slice;
|
||||||
|
|
||||||
// Current version of the library. Keep in sync with `package.json`.
|
// Current version of the library. Keep in sync with `package.json`.
|
||||||
Backbone.VERSION = '1.3.2';
|
Backbone.VERSION = '1.3.3';
|
||||||
|
|
||||||
// For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns
|
// For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns
|
||||||
// the `$` variable.
|
// the `$` variable.
|
||||||
|
|||||||
2
vendor/backbone/test/collection.js
vendored
2
vendor/backbone/test/collection.js
vendored
@@ -1898,7 +1898,7 @@
|
|||||||
assert.deepEqual(changed.merged, []);
|
assert.deepEqual(changed.merged, []);
|
||||||
assert.ok(changed.removed.length === 2);
|
assert.ok(changed.removed.length === 2);
|
||||||
|
|
||||||
assert.ok(changed.removed.indexOf(model) > -1 && changed.removed.indexOf(model2) > -1);
|
assert.ok(_.indexOf(changed.removed, model) > -1 && _.indexOf(changed.removed, model2) > -1);
|
||||||
});
|
});
|
||||||
collection.remove([model, model2]);
|
collection.remove([model, model2]);
|
||||||
});
|
});
|
||||||
|
|||||||
5
vendor/backbone/test/view.js
vendored
5
vendor/backbone/test/view.js
vendored
@@ -14,6 +14,11 @@
|
|||||||
className: 'test-view',
|
className: 'test-view',
|
||||||
other: 'non-special-option'
|
other: 'non-special-option'
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
afterEach: function() {
|
||||||
|
$('#testElement').remove();
|
||||||
|
$('#test-view').remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user