backbone.memento
backbone.memento copied to clipboard
AMD shim, please?
Hi Derick,
Could you please shim this lib for AMD, please?
The problem is that Backbone has recently gone AMD. This is causing single-file builds via the RequireJS optimizer to fail if the build uses the new AMD Backbone but plugins that are non-AMD compliant. You can read more about this issue here SO answer, and over at https://github.com/PaulUithol/Backbone-relational/pull/215#issuecomment-36494957, where the same problem has been resolved by taking the hyper-standard approach of wrapping the whole lib as in https://github.com/PaulUithol/Backbone-relational/blob/master/backbone-relational.js#L48-L61.
Hmm, so is this library dead? I had the same concern as this ticket, then realized the lack of updates on the library for 5+ years.