diff --git a/lib/index.js b/lib/index.js index 6d018f0..8b0f8bc 100644 --- a/lib/index.js +++ b/lib/index.js @@ -35,10 +35,6 @@ function isObject(value) { * const Person = DeepModel.extend({...}) */ export default class DeepModel extends Backbone.Model { - static extend(...args) { - return Backbone.Model.extend(...args) - } - /** * this module's version. */ @@ -156,3 +152,5 @@ export default class DeepModel extends Backbone.Model { return super.set(newAttrs, options) } } + +DeepModel.extend = Backbone.Model.extend