Skip to content

Commit

Permalink
Add missing parameter "saveFiles" in API
Browse files Browse the repository at this point in the history
  • Loading branch information
vthibault committed May 26, 2015
1 parent 2da1c4e commit 1f64b2d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions api.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
ROConfig.API = event.data.api || false;
ROConfig.socketProxy = event.data.socketProxy || null;
ROConfig.packetKeys = event.data.packetKeys || false;
ROConfig.saveFiles = event.data.saveFiles || false;
ROConfig.skipServerList = event.data.skipServerList || false;
ROConfig.skipIntro = event.data.skipIntro || false;
ROConfig.autoLogin = event.data.autoLogin || [];
Expand Down
12 changes: 12 additions & 0 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,17 @@
ROBrowser.prototype.packetKeys = false;


/**
* @var {boolean} should we save files in chrome filesystem ?
*
* If set to true, then we try to save the files loaded from server/grfs on a filesystem to load
* them faster the next time.
*
* Only working on Chrome, status: deprecated.
*/
ROBrowser.prototype.saveFiles = false;


/**
* @var {boolean} skip server list if only one server define ?
*
Expand Down Expand Up @@ -362,6 +373,7 @@
api: this.api,
socketProxy: this.socketProxy,
packetKeys: this.packetKeys,
saveFiles: this.saveFiles,
skipServerList: this.skipServerList,
skipIntro: this.skipIntro,
autoLogin: this.autoLogin,
Expand Down

0 comments on commit 1f64b2d

Please sign in to comment.