mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 23:57:34 +02:00
Added noop Tomahawk.localStorage methods to tomahawk.js
This commit is contained in:
@@ -579,6 +579,12 @@ Tomahawk.removeDiacritics = function (str) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Tomahawk.localStorage = Tomahawk.localStorage || {
|
||||||
|
setItem: function() {},
|
||||||
|
getItem: function() {},
|
||||||
|
removeItem: function() {}
|
||||||
|
};
|
||||||
|
|
||||||
// some aliases
|
// some aliases
|
||||||
Tomahawk.setTimeout = Tomahawk.setTimeout || window.setTimeout;
|
Tomahawk.setTimeout = Tomahawk.setTimeout || window.setTimeout;
|
||||||
Tomahawk.setInterval = Tomahawk.setInterval || window.setInterval;
|
Tomahawk.setInterval = Tomahawk.setInterval || window.setInterval;
|
||||||
|
Reference in New Issue
Block a user