MCPcopy Index your code
hub / github.com/TruthHun/BookStack / config

Function config

static/word2md/mammoth.browser.js:29464–29474  ·  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

29462 */
29463
29464function config (name) {
29465 // accessing global.localStorage can trigger a DOMException in sandboxed iframes
29466 try {
29467 if (!global.localStorage) return false;
29468 } catch (_) {
29469 return false;
29470 }
29471 var val = global.localStorage[name];
29472 if (null == val) return false;
29473 return String(val).toLowerCase() === 'true';
29474}
29475
29476}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29477},{}],155:[function(require,module,exports){

Callers 2

deprecateFunction · 0.70
deprecatedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected