dist/backbone.storage.js
function findAll() {
      var _this = this;
      var options = arguments[0] === undefined ? {} : arguments[0];
      var forceFetch = arguments[1] === undefined ? false : arguments[1];
      if (this._hasSynced && !forceFetch) {
        return Promise.resolve(this.records);
      } else {
        return Promise.resolve(this.records.fetch(options)).then(function () {
          return _this.records;
        });
      }
    }
function findAll() {
      var _this = this;
      var options = arguments[0] === undefined ? {} : arguments[0];
      var forceFetch = arguments[1] === undefined ? false : arguments[1];
      if (this._hasSynced && !forceFetch) {
        return Promise.resolve(this.records);
      } else {
        return Promise.resolve(this.records.fetch(options)).then(function () {
          return _this.records;
        });
      }
    }
function findAll ( ) { var _this = this ; var options = arguments [ 0 ] === undefined ? { } : arguments [ 0 ] ; var forceFetch = arguments [ 1 ] === undefined ? false : arguments [ 1 ] ; if ( this . _hasSynced && ! forceFetch ) { return Promise . resolve ( this . records ) ; } else { return Promise . resolve ( this . records . fetch ( options ) ) . then ( function ( ) { return _this . records ; } ) ; } }
Find all the models in the store or fetch them from the server if they
haven't been fetched before.

@public
@instance
@method findAll
@memberOf Storage
@param {Object} options - Options to pass to collection fetch. Also allows
setting parameters on collection.
@param {Boolean} forceFetch - Force fetch model from server.
@returns {Promise} - A promise that will resolve to the entire collection.
Find all the models in the store or fetch them from the server if they haven t been fetched before .