File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/node_modules/pouchdb-adapter-nodesqlite/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,19 @@ import CoreWebsqlPouch from 'pouchdb-adapter-websql-core';
22
33import openDB from '@neighbourhoodie/websql' ;
44
5- function WebsqlPouch ( opts , callback ) {
5+ function NodeSqlitePouch ( opts , callback ) {
66 var _opts = Object . assign ( {
77 websql : openDB
88 } , opts ) ;
99
1010 CoreWebsqlPouch . call ( this , _opts , callback ) ;
1111}
1212
13- WebsqlPouch . valid = function ( ) {
13+ NodeSqlitePouch . valid = function ( ) {
1414 return true ;
1515} ;
16- WebsqlPouch . use_prefix = false ;
16+ NodeSqlitePouch . use_prefix = false ;
1717
1818export default function ( PouchDB ) {
19- PouchDB . adapter ( 'nodesqlite' , WebsqlPouch , true ) ;
19+ PouchDB . adapter ( 'nodesqlite' , NodeSqlitePouch , true ) ;
2020}
You can’t perform that action at this time.
0 commit comments