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
|
// NodeJS/CommonJS
|
||||||
} else if (typeof exports !== 'undefined') {
|
} else if (typeof exports !== 'undefined') {
|
||||||
var _ = require('underscore'), $ = require('jquery'), Backbone = require('backbone');
|
var _ = require('underscore'), $ = require('jquery'), Backbone = require('backbone');
|
||||||
factory(root, _, $, Backbone);
|
factory(root, Backbone, _, $);
|
||||||
|
|
||||||
// Browser global
|
// Browser global
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user