couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Keen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-2432) Move local storage getter + setter in utils.js
Date Mon, 03 Nov 2014 19:33:33 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ben Keen updated COUCHDB-2432:
------------------------------
    Description: 
We're using local storage in a couple of places by explicitly calling localStorage.setItem,
getItem. There's a benefit to moving wrapping these into utility methods: 
- can ward against problems like local storage being full or not available in browser
- allows us to get/set complex objects

  was:
We're using local storage in a couple of places by explicitly calling localStorage.setItem,
getItem. There's a benefit to moving wrapping these into utility methods, e.g. 
- can ward against problems like local storage being full or not available in browser
- allows us to get/set complex objects


> Move local storage getter + setter in utils.js
> ----------------------------------------------
>
>                 Key: COUCHDB-2432
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2432
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>
> We're using local storage in a couple of places by explicitly calling localStorage.setItem,
getItem. There's a benefit to moving wrapping these into utility methods: 
> - can ward against problems like local storage being full or not available in browser
> - allows us to get/set complex objects



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message