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:
parent
4fdd86f3bb
commit
7125ba758f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user