Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Initializing $.store twice adds duplicate en/decoders #5
Running the following code:
This happens because .encoders and .decoders are part of the prototype, and thus globally modified every time
This is an issue because I am using this in a single page application, and use it in just one model where it's needed (instead of storing a global reference and only initializing once).