Skip to content
Permalink
Browse files

feat(storage): add localForage supports method

  • Loading branch information...
jgw96 committed Oct 31, 2016
1 parent b49a604 commit dbc9ac4044ecb00326c0e03ba818e7caa03935fe
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/storage.ts
@@ -153,4 +153,12 @@ export class Storage {
this._db.setDriver(this._db.engine);
}

/**
* Detect whether or not a storage engine is supported on the platform its running on
* @param engine engine you want to test support for
*/
supports(engine: string) {
this._db.supports(engine);
}

}

0 comments on commit dbc9ac4

Please sign in to comment.
You can’t perform that action at this time.