Merge pull request #19 from XemsDoom/fix-commonjs-module

Fixes wrong arguments order for factory function
This commit is contained in:
Joe Vu 2015-04-06 21:47:14 -07:00
commit bf369c0ffe

View File

@ -18,7 +18,7 @@
// NodeJS/CommonJS
} else if (typeof exports !== 'undefined') {
var _ = require('underscore'), $ = require('jquery'), Backbone = require('backbone');
factory(root, _, $, Backbone);
factory(root, Backbone, _, $);
// Browser global
} else {