CodeMaid clean-up
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
////////////////////////
|
||||
////////////////////////
|
||||
// GetElement
|
||||
//
|
||||
function GetElement(element) {
|
||||
@@ -53,7 +52,6 @@ function ElementToggleClass(element, className) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function escapeHTML(s) {
|
||||
return s.replace(/&/g, '&')
|
||||
.replace(/"/g, '"')
|
||||
@@ -67,7 +65,6 @@ function fixedEncodeURIComponent(str) {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
////////////////////////
|
||||
// localStorage polyfill
|
||||
//
|
||||
@@ -94,4 +91,4 @@ if (!window.localStorage) {
|
||||
hasOwnProperty: function (sKey) { return (new RegExp("(?:^|;\\s*)" + escape(sKey).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(document.cookie); }
|
||||
};
|
||||
window.localStorage.length = (document.cookie.match(/\=/g) || window.localStorage).length;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user