Skip to content

Commit

Permalink
Add a native webSql adapter - #63
Browse files Browse the repository at this point in the history
  • Loading branch information
daleharvey committed Dec 29, 2012
1 parent 216f957 commit 63df942
Show file tree
Hide file tree
Showing 18 changed files with 868 additions and 90 deletions.
2 changes: 1 addition & 1 deletion grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var srcFiles = [
"src/pouch.js", "src/pouch.collate.js", "src/pouch.merge.js",
"src/pouch.replicate.js", "src/pouch.utils.js",
"src/adapters/pouch.http.js", "src/adapters/pouch.idb.js",
"src/plugins/pouchdb.mapreduce.js"
"src/adapters/pouch.websql.js", "src/plugins/pouchdb.mapreduce.js"
];

var testFiles = fs.readdirSync("./tests").filter(function(name){
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/pouch.leveldb.js
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ LevelPouch = module.exports = function(opts, callback) {
}

LevelPouch.valid = function() {
return true;
return typeof module !== undefined && module.exports;
}

// close and delete open leveldb stores
Expand Down
Loading

0 comments on commit 63df942

Please sign in to comment.