Commit db517423 authored by Tristan Cavelier's avatar Tristan Cavelier

intro.js and outro.js updated (which will never pass jslint check)

parent 94a60a48
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
localstorage = { localstorage = {
getItem: function (item) { getItem: function (item) {
var value = localStorage.getItem(item); var value = localStorage.getItem(item);
return value === null? null: JSON.parse(value); return value === null ? null : JSON.parse(value);
}, },
setItem: function (item, value) { setItem: function (item, value) {
return localStorage.setItem(item, JSON.stringify(value)); return localStorage.setItem(item, JSON.stringify(value));
...@@ -23,11 +23,11 @@ ...@@ -23,11 +23,11 @@
localstorage = { localstorage = {
getItem: function (item) { getItem: function (item) {
var value = pseudo_localStorage[item]; var value = pseudo_localStorage[item];
return value === undefined? return value === undefined ?
null: JSON.parse(pseudo_localStorage[item]); null : JSON.parse(pseudo_localStorage[item]);
}, },
setItem: function (item, value) { setItem: function (item, value) {
return pseudo_localStorage[item] = JSON.stringify(value); pseudo_localStorage[item] = JSON.stringify(value);
}, },
removeItem: function (item) { removeItem: function (item) {
delete pseudo_localStorage[item]; delete pseudo_localStorage[item];
......
Object.defineProperty(scope,"jIO",{ Object.defineProperty(scope, "jIO", {
configurable:false,enumerable:false,writable:false,value:jioNamespace configurable: false,
enumerable: false,
writable: false,
value: jioNamespace
}); });
}(window, hex_md5)); }(window, hex_md5));
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