Skip to content

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

Open
@JoshuaSoileau

Description

@JoshuaSoileau

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions