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

Method _itemName

src/localstorage.js:164–166  ·  view source on GitHub ↗

Return the item name to lookup in localStorage * @param {integer} id - Item ID * @returns {string} Item name

(id)

Source from the content-addressed store, hash-verified

162 * @returns {string} Item name
163 */
164 _itemName(id) {
165 return `${this.name}-${id}`;
166 }
167
168 /** Proxy to the localStorage setItem value method
169 * @param {string} key - LocalStorage key to set

Callers 5

createMethod · 0.95
updateMethod · 0.95
findMethod · 0.95
findAllMethod · 0.95
destroyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected