Skip to content

Commit

Permalink
Merge pull request #36 from thgreasi/inherit-all-methods
Browse files Browse the repository at this point in the history
Add dropInstance method
  • Loading branch information
thgreasi authored May 18, 2019
2 parents 00ce8b3 + 7a4ac27 commit e777e1c
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 358 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
build
bower_components
node_modules
components
dist

# Logs + Sauce Labs Tests
*.log
Expand Down
10 changes: 10 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.babelrc
.eslintrc
.jscsrc
.jshintrc
.travis.yml
build/
rollup.config.es6.js
rollup.config.js
rollup.config.test.js
rollup.config.umd.js
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ SQLite driver for [Cordova](https://cordova.apache.org/) apps using [localForage
## Install Dependencies

* install Cordova-sqlite-storage plugin `cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git`
* install localForage-cordovaSQLiteDriver
* via npm with: `npm i --save localforage localforage-cordovasqlitedriver` (ionic 2 users might prefer ths one)
* via bower with: `bower install --save localforage localForage-cordovaSQLiteDriver`
* install localForage-cordovaSQLiteDriver via npm with: `npm i --save localforage localforage-cordovasqlitedriver` (ionic 2 users might prefer ths one)

#### Cordova-sqlcipher-adapter support
install the plugin by
Expand Down
23 changes: 0 additions & 23 deletions bower.json

This file was deleted.

160 changes: 0 additions & 160 deletions dist/localforage-cordovasqlitedriver.es6.js

This file was deleted.

168 changes: 0 additions & 168 deletions dist/localforage-cordovasqlitedriver.js

This file was deleted.

3 changes: 2 additions & 1 deletion lib/localforage-cordovasqlitedriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ function wireUpDriverMethods(driver) {
'keys',
'length',
'removeItem',
'setItem'
'setItem',
'dropInstance'
];

function wireUpDriverMethod(driver, methodName) {
Expand Down
Loading

0 comments on commit e777e1c

Please sign in to comment.