The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
82 views

Online notepad in JavaScript

I have been told for my code below i need to "Improve and optimise the codebase of the application to reflect modern and best coding practices". Can anyone help me in doing this? As I know the service ...
2
votes
2answers
430 views

AngularJS shopping cart using local storage

Two weeks ago I started writing some Javascript and AngularJS code for a customer. As a proud newby I must also be aware of the dangers on the big bad Internet. In particular vulnerabilities such as ...
0
votes
0answers
68 views

Class for easier localStorage use

As simple as the title, the following code is just a simple class for ease of use with localStorage. I'm just looking for recommendations in clean up, ideas of things to ad, constructive criticisms ...
6
votes
2answers
230 views

Saving preferences in localStorage

I am working on a small app to help my kids study their multiplication and addition. And I have various preferences I want to be persisted between visits. What do you think of the below to get the ...
4
votes
3answers
3k views

Persistent Object using localStorage

The goal is to make an object that persists upon page reloads, have an interface as close as possible to the Object class. ...
3
votes
2answers
970 views

Getters and Setters for localStorage

I have written the following get/set for a username which is stored in local Storage. Do you think this "buys" me anything or even perhaps has major disadvantages? I have never liked relying on ...
5
votes
1answer
1k views

File reader/writer using XPConnect, ActiveX, LiveConnect, Java, HTML5 file storage, or HTTP

I am writing a file writer/reader in JavaScript; I want it to work on local files. It tries to use Firefox's XpConnect, falls back on IE activeX, falls back on Java LiveConnect, falls back on a Java ...