add tests to log
This commit is contained in:
parent
ec58e90437
commit
43bd277959
4 changed files with 51 additions and 6 deletions
|
|
@ -1,8 +1,12 @@
|
|||
'use strict';
|
||||
var _ = require('lodash');
|
||||
var preconditions = require('preconditions').singleton();
|
||||
|
||||
function LocalStorage() {
|
||||
this.type = 'DB';
|
||||
|
||||
preconditions.checkState(typeof localStorage !== 'undefined',
|
||||
'localstorage not available, cannot run plugin');
|
||||
};
|
||||
|
||||
LocalStorage.prototype.init = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue