History
isAvailable()⇒ boolean
boolean
Check that local storage is available before any operation is performed
get(id)⇒ *
*
Get a history object for uuid
Parameters
Param |
---|
id |
deleteHistory(id)
Deletes history for an ID
Parameters
Param |
---|
id |
getHistory()⇒ Array
Array
Get history from local storage for all articles and JSON Parse to Object
cleanVersionsOlderThanMaxDays()
Clears items older than @see HST_MAX_DAYS days.
cleanOldVersions()⇒ boolean
boolean
Removed half the list of articles based on the updated property
saveHistory(id, history)⇒ boolean
boolean
Save history to local storage
Parameters
Param |
---|
id |
history |