"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/backbone/test/noconflict.js" between
lodash-4.0.0.tar.gz and lodash-4.17.21.tar.gz

About: lodash is a modern JavaScript utility library delivering modularity, performance, & extras. Tagged version.

noconflict.js  (lodash-4.0.0):noconflict.js  (lodash-4.17.21)
(function() { (function(QUnit) {
QUnit.module('Backbone.noConflict'); QUnit.module('Backbone.noConflict');
QUnit.test('noConflict', function(assert) { QUnit.test('noConflict', function(assert) {
assert.expect(2); assert.expect(2);
var noconflictBackbone = Backbone.noConflict(); var noconflictBackbone = Backbone.noConflict();
assert.equal(window.Backbone, undefined, 'Returned window.Backbone'); assert.equal(window.Backbone, undefined, 'Returned window.Backbone');
window.Backbone = noconflictBackbone; window.Backbone = noconflictBackbone;
assert.equal(window.Backbone, noconflictBackbone, 'Backbone is still pointin g to the original Backbone'); assert.equal(window.Backbone, noconflictBackbone, 'Backbone is still pointin g to the original Backbone');
}); });
})(); })(QUnit);
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)