Skip to content

Commit 5e2f113

Browse files
committed
Update vendor/backbone to v1.3.3.
1 parent 55e7b87 commit 5e2f113

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

vendor/backbone/backbone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Backbone.js 1.3.2
1+
// Backbone.js 1.3.3
22

33
// (c) 2010-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
44
// Backbone may be freely distributed under the MIT license.
@@ -44,7 +44,7 @@
4444
var slice = Array.prototype.slice;
4545

4646
// Current version of the library. Keep in sync with `package.json`.
47-
Backbone.VERSION = '1.3.2';
47+
Backbone.VERSION = '1.3.3';
4848

4949
// For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns
5050
// the `$` variable.

vendor/backbone/test/collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@
18981898
assert.deepEqual(changed.merged, []);
18991899
assert.ok(changed.removed.length === 2);
19001900

1901-
assert.ok(changed.removed.indexOf(model) > -1 && changed.removed.indexOf(model2) > -1);
1901+
assert.ok(_.indexOf(changed.removed, model) > -1 && _.indexOf(changed.removed, model2) > -1);
19021902
});
19031903
collection.remove([model, model2]);
19041904
});

vendor/backbone/test/view.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
className: 'test-view',
1515
other: 'non-special-option'
1616
});
17+
},
18+
19+
afterEach: function() {
20+
$('#testElement').remove();
21+
$('#test-view').remove();
1722
}
1823

1924
});

0 commit comments

Comments
 (0)