1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/js/stores/session_persistent_store.js
2015-10-30 16:57:03 +01:00

15 lines
307 B
JavaScript

'use strict';
import AscribeStorage from '../models/ascribe_storage';
export default class SessionPersistentStore extends AscribeStorage {
constructor(name) {
super('sessionStorage', name);
}
setItem(key, value) {
this[key] = value;
super.setItem(key, value);
}
}