MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / config

Function config

lib/sanitize-html.js:8170–8180  ·  view source on GitHub ↗

* Checks `localStorage` for boolean values for the given `name`. * * @param {String} name * @returns {Boolean} * @api private

(name)

Source from the content-addressed store, hash-verified

8168 */
8169
8170function config (name) {
8171 // accessing global.localStorage can trigger a DOMException in sandboxed iframes
8172 try {
8173 if (!global.localStorage) return false;
8174 } catch (_) {
8175 return false;
8176 }
8177 var val = global.localStorage[name];
8178 if (null == val) return false;
8179 return String(val).toLowerCase() === 'true';
8180}
8181
8182}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
8183},{}],58:[function(require,module,exports){

Callers 2

deprecateFunction · 0.85
deprecatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected