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);
} else if (typeof exports !== 'undefined') {
// CommonJS support
var _ = require("underscore");
var Backbone = require("backbone");
module.exports = factory(_, Backbone);
module.exports = factory(
require("underscore"),
require("backbone")
);
} else {
// Non-modular execution
factory(_, Backbone);