afeld / backbone-nested

A plugin to make Backbone.js keep track of nested attributes - looking for maintainers! https://github.com/afeld/backbone-nested/issues/157
https://afeld.github.com/backbone-nested/
MIT License
443 stars 83 forks source link

Return NestedModel instead of Backbone when using AMD/CommonJS. #149

Closed jacobbuck closed 4 years ago

jacobbuck commented 9 years ago

While still retaining Backbone.NestedModel. Means I can get NestedModel by:

var NestedModel = require('backbone-nested');

instead of:

var Backbone = require('backbone');
require('backbone-nested');
var NestedModel = Backbone.NestedModel;
just-boris commented 8 years ago

resolves issue https://github.com/afeld/backbone-nested/issues/150