AutorÃa | Ultima modificación | Ver Log |
/*** Simple API for set/get to sessionstorage, with cacherev expiration.** Session storage will only persist for as long as the browser window* stays open.** See:* https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage** @module core/sessionstorage* @copyright 2017 Ryan Wyllie <ryan@moodle.com>* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later*/define("core/sessionstorage",["core/config","core/storagewrapper"],(function(config,StorageWrapper){var storage=new StorageWrapper(window.sessionStorage);return{get:function(key){return storage.get(key)},set:function(key,value){return storage.set(key,value)}}}));//# sourceMappingURL=sessionstorage.min.js.map