1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-06-02 14:05:06 +02:00

Added noop Tomahawk.localStorage methods to tomahawk.js

This commit is contained in:
Enno Gottschalk 2014-12-17 00:02:55 +01:00
parent 4fdd86f3bb
commit 7125ba758f

View File

@ -579,6 +579,12 @@ Tomahawk.removeDiacritics = function (str) {
});
};
Tomahawk.localStorage = Tomahawk.localStorage || {
setItem: function() {},
getItem: function() {},
removeItem: function() {}
};
// some aliases
Tomahawk.setTimeout = Tomahawk.setTimeout || window.setTimeout;
Tomahawk.setInterval = Tomahawk.setInterval || window.setInterval;