Commit fef5eff6 authored by Tristan Cavelier's avatar Tristan Cavelier

Add a localStorage cleanup before the qunit tests

The localStorage wrapper is not working on Chromium
parent 2711b231
......@@ -4,6 +4,15 @@
Base64 = loader.Base64,
$ = loader.jQuery;
// localStorage cleanup
var k;
for (k in localStorage) {
if (/^jio\//.test(k)) {
localStorage.removeItem(k);
}
}
delete k;
//// Tools
var empty_fun = function (){},
contains = function (array,content) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment