[ 
https://issues.apache.org/jira/browse/COUCHDB-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14195971#comment-14195971
 ] 

ASF subversion and git services commented on COUCHDB-2432:
----------------------------------------------------------

Commit 38ad6907987d7089b61a68bf58d6e0b28be744f1 in couchdb-fauxton's branch 
refs/heads/master from [~benkeen]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-fauxton.git;h=38ad690 ]

Added getter/setter utils.js methods for local storage

This is primarily proactive; there are only a couple of places in the code
that use local storage, but I wanted to nip it in the bud now and use
helpers instead.

Closes COUCHDB-2432


> 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