backbone.memento icon indicating copy to clipboard operation
backbone.memento copied to clipboard

AMD shim, please?

Open dminkovsky opened this issue 10 years ago • 1 comments

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.

dminkovsky avatar Mar 06 '14 05:03 dminkovsky

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.

jaspertey avatar May 02 '17 12:05 jaspertey