build/rekord.js
function(callback, context)
  {
    var db = this;
    var promise = new Promise();
    var success = this.handleRefreshSuccess( promise );
    var failure = this.handleRefreshFailure( promise );

    promise.complete( callback, context || db );

    batchExecute(function()
    {
      db.executeRefresh( success, failure );
    });

    return promise;
  }
function(callback, context)
  {
    var db = this;
    var promise = new Promise();
    var success = this.handleRefreshSuccess( promise );
    var failure = this.handleRefreshFailure( promise );

    promise.complete( callback, context || db );

    batchExecute(function()
    {
      db.executeRefresh( success, failure );
    });

    return promise;
  }
function ( callback , context ) { var db = this ; var promise = new Promise ( ) ; var success = this . handleRefreshSuccess ( promise ) ; var failure = this . handleRefreshFailure ( promise ) ; promise . complete ( callback , context || db ) ; batchExecute ( function ( ) { db . executeRefresh ( success , failure ) ; } ) ; return promise ; }
Loads all data remotely
Loads all data remotely