"Fossies" - the Fresh Open Source Software Archive  

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

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

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

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