Collection

Skull. Collection

new Collection()

Source:

Members

_parentResult :function

Type:
  • function
Source:

Methods

clone() → {Skull.Collection}

Returns a new instance of the collection with an identical list of models. Takes care of registry passing.

Source:
Returns:
Type
Skull.Collection

sync() → {jQuery.Deferred}

Delegates sync operations to this.syncer

Source:
Returns:
Type
jQuery.Deferred

toTemplate() → {Array.<Object>}

Provides data for templates. Skull.Model#toTemplate

Source:
Returns:
Type
Array.<Object>

Skull. Collection

new Collection()

Skull.Collection is a collection with few enhancements:

  • registry handling
  • meaningful cid
  • easier REST urls generation
Source:

Extends

  • Backbone.Collection

Members

_parentResult :function

Type:
  • function
Source:

Methods

clone() → {Skull.Collection}

Returns a new instance of the collection with an identical list of models. Takes care of registry passing.

Source:
Returns:
Type
Skull.Collection

sync() → {jQuery.Deferred}

Delegates sync operations to this.syncer

Source:
Returns:
Type
jQuery.Deferred

toTemplate() → {Array.<Object>}

Provides data for templates. Skull.Model#toTemplate

Source:
Returns:
Type
Array.<Object>