Use Backbone.dualStorage with CommonJS #126

Open
kwokeith1989 opened this Issue Oct 30, 2014 · 3 comments

Projects

None yet

3 participants

@kwokeith1989

Is it posssible??

@nilbus
Owner
nilbus commented Oct 30, 2014

There is an AMD build. I am not familiar enough with CommonJS though to say if they are compatible. Let us know what you find.

@lzrski
lzrski commented Jan 30, 2015

They are not. Please check out https://github.com/umdjs/umd . They show a way to make same code work as AMD module, CommonJS (standard used for example by Node.js and Browserify) and the old way that is by setting global variable.

@nilbus
Owner
nilbus commented Jan 30, 2015

Feel free to put something together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment