[ 
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)

Reply via email to