B2G/gecko/services/common/modules-testing/storageserver.js
/**
   * Compute the object that is returned for an info/collections request.
   */
Compute the object that is returned for an info/collections request.
Compute the object that is returned for an info / collections request .
function infoCollections(username) {
    let responseObject = {};
    let colls = this.users[username].collections;
    for (let coll in colls) {
      responseObject[coll] = colls[coll].timestamp;
    }
    this._log.trace("StorageServer: info/collections returning " +
                    JSON.stringify(responseObject));
    return responseObject;
  }
function infoCollections ( username ) { let responseObject = { } ; let colls = this . users [ username ] . collections ; for ( let coll in colls ) { responseObject [ coll ] = colls [ coll ] . timestamp ; } this . _log . trace ( "StorageServer: info/collections returning " + JSON . stringify ( responseObject ) ) ; return responseObject ; }
Compute the object that is returned for an info/collections request.
Compute the object that is returned for an info / collections request .