Upstatement/jquery-total-storage

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

Opened this issue · 0 comments

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?