new require("defaultModel")() → {function}
CORS capable Backbone.Model class
- Source:
Requires:
- module:Backbone
- module:jQuery
Returns:
Backbone.Model constructor
- Type
- function
- Source:
Methods
-
initialize()
-
Constructs instance URL by path & host params from mixin
- Source:
-
url() → {string}
-
Returns actual model URL Full URL may be constructed at model init stage only: it depends from host attribute, which is added via custom model extension
- Source:
Returns:
Model instance url- Type
- string