fix broken tests

This commit is contained in:
Vladislav Botvin 2015-06-30 14:59:45 +03:00
parent 2a082975d9
commit cea75b85ec

View File

@ -15,9 +15,10 @@
define(["underscore", "backbone"], factory); define(["underscore", "backbone"], factory);
} else if (typeof exports !== 'undefined') { } else if (typeof exports !== 'undefined') {
// CommonJS support // CommonJS support
var _ = require("underscore"); module.exports = factory(
var Backbone = require("backbone"); require("underscore"),
module.exports = factory(_, Backbone); require("backbone")
);
} else { } else {
// Non-modular execution // Non-modular execution
factory(_, Backbone); factory(_, Backbone);