MCPcopy Index your code
hub / github.com/PrairieLearn/PrairieLearn / localstorage

Function localstorage

public/javascripts/socket.io.js:472–476  ·  view source on GitHub ↗

* Localstorage attempts to return the localstorage. * * This is necessary because safari throws * when a user disables cookies/localstorage * and you attempt to access it. * * @return {LocalStorage} * @api private

()

Source from the content-addressed store, hash-verified

470 */
471
472 function localstorage(){
473 try {
474 return window.localStorage;
475 } catch (e) {}
476 }
477
478 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))
479

Callers 1

socket.io.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected