Module: store/dom

store/dom

Classes

DomStore

Methods

<inner> domStoreDateToJSON() → {Object}

Converts a Date object into an object representation friendly to JSON serialization.

This method is used to override the Date.toJSON method and is called only by JSON.stringify. It should never be called directly.
Source:
Returns:
Object that represents the Date.
Type
Object

<inner> domStoreJSONToDate(value, value) → {Date}

JSON reviver function for converting an object representing a Date in a JSON stream to a Date object

This method is used during JSON parsing and invoked only by the reviver function. It should never be called directly.
Parameters:
Name Type Description
value _
value Object to convert.
Source:
Returns:
Date object.
Type
Date

<inner> qualifyDomStoreKey(store, key) → {String}

Qualifies the key with the name of the store.
Parameters:
Name Type Description
store Object Store object whose name will be used for qualifying the key.
key String Key string.
Source:
Returns:
Fully qualified key string.
Type
String

<inner> unqualifyDomStoreKey(store, key) → {String}

Gets the key part of a fully qualified key string.
Parameters:
Name Type Description
store Object Store object whose name will be used for qualifying the key.
key String Fully qualified key string.
Source:
Returns:
Key part string
Type
String