MCPcopy Create free account
hub / github.com/parse-community/parse-dashboard / _saveScriptsToLocal

Method _saveScriptsToLocal

src/lib/ScriptManager.js:474–480  ·  view source on GitHub ↗

* Saves scripts to local storage (original implementation) * @private

(appId, scripts)

Source from the content-addressed store, hash-verified

472 * @private
473 */
474 _saveScriptsToLocal(appId, scripts) {
475 try {
476 localStorage.setItem(this._getLocalPath(appId), JSON.stringify(scripts));
477 } catch {
478 // ignore write errors
479 }
480 }
481
482 /**
483 * Gets the local storage path for scripts

Callers 2

getScriptsMethod · 0.95
saveScriptsMethod · 0.95

Calls 1

_getLocalPathMethod · 0.95

Tested by

no test coverage detected