Merge pull request #5141 from 3dd13/fix-storage-constructor-error

fix(StorageEngine): remove the error throwing in storage engine constructor
This commit is contained in:
Adam Bradley
2016-01-22 07:48:44 -06:00
2 changed files with 1 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ import {StorageEngine} from './storage';
* @see {@link /docs/v2/platform/storage/ Storage Platform Docs}
*/
export class LocalStorage extends StorageEngine {
constructor() {
constructor(options={}) {
super();
}

View File

@@ -56,7 +56,6 @@ export interface IStorageEngine {
*/
export class StorageEngine {
constructor(options={}) {
throw Error("constructor(options={}) not implemented for this storage engine");
}
get(key, value) {
throw Error("get() not implemented for this storage engine");