examples/backbone.localStorage.js
function() {
    return _(this.records).chain()
      .map(function(id){
        return this.jsonData(this.localStorage().getItem(this.name+"-"+id));
      }, this)
      .compact()
      .value();
  }
function() {
    return _(this.records).chain()
      .map(function(id){
        return this.jsonData(this.localStorage().getItem(this.name+"-"+id));
      }, this)
      .compact()
      .value();
  }
function ( ) { return _ ( this . records ) . chain ( ) . map ( function ( id ) { return this . jsonData ( this . localStorage ( ) . getItem ( this . name + "-" + id ) ) ; } , this ) . compact ( ) . value ( ) ; }
Return the array of all models currently in storage.
Return the array of all models currently in storage .