Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with totalStorage and jQuery.noConflict(), fails to retrieve local storage values #15

Open
JoshuaSoileau opened this issue Jan 21, 2014 · 0 comments

Comments

@JoshuaSoileau
Copy link

I am working on a project that uses both jquery and prototype.js, so I have to use jQuery in noConflict mode.

If I do this:

$j = jQuery.noConflict();
$j.totalStorage('visited', 1);

It successfully saves that key and value in local storage.
But when I try and access this value:

$j.totalStorage('visited');

It returns null. I can set values, but not retrieve them, which makes it kind of pointless.
Am I doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant