waterline-dirty
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -433,8 +433,15 @@ /*--------------------------------------------------------------- | ||
matchString = new RegExp(matchString); | ||
// Case insensitive by default | ||
var modifiers = 'i'; | ||
// TODO: make this overridable | ||
matchString = new RegExp('^'+matchString+'$',modifiers); | ||
} | ||
// Unexpected match string! | ||
else throw new Error("Unexpected match string: "+matchString+ " Please use a regexp or string."); | ||
else { | ||
console.error('matchString:'); | ||
console.error(matchString); | ||
throw new Error("Unexpected match string: "+matchString+ " Please use a regexp or string."); | ||
} | ||
// Deal with non-strings by creating index | ||
@@ -441,0 +448,0 @@ var index = model[key]; |
{ | ||
"name": "waterline-dirty", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Waterline adapter for felixge's node-dirty", | ||
@@ -5,0 +5,0 @@ "main": "DirtyAdapter.js", |
16977
400