Merge pull request #19 from XemsDoom/fix-commonjs-module
Fixes wrong arguments order for factory function
This commit is contained in:
commit
bf369c0ffe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user