mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
15 lines
307 B
JavaScript
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);
|
|
}
|
|
} |