MCPcopy
hub / github.com/jeromegn/Backbone.localStorage / _setItem

Method _setItem

src/localstorage.js:173–175  ·  view source on GitHub ↗

Proxy to the localStorage setItem value method * @param {string} key - LocalStorage key to set * @param {string} value - LocalStorage value to set * @returns {undefined}

(key, value)

Source from the content-addressed store, hash-verified

171 * @returns {undefined}
172 */
173 _setItem(key, value) {
174 this.localStorage().setItem(key, value);
175 }
176
177 /** Proxy to the localStorage removeItem method
178 * @param {string} key - LocalStorage key to remove

Callers 3

saveMethod · 0.95
createMethod · 0.95
updateMethod · 0.95

Calls 1

localStorageMethod · 0.95

Tested by

no test coverage detected