Skip to content

Commit

Permalink
built
Browse files Browse the repository at this point in the history
  • Loading branch information
shakty committed May 12, 2016
1 parent c5ac548 commit 057727d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build/nddb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6507,7 +6507,7 @@ if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) {
}

// Range-queries need an array as third parameter instance of Array.
if (J.in_array(op,['><', '<>', 'in', '!in'])) {
if (J.inArray(op,['><', '<>', 'in', '!in'])) {

if (!(value instanceof Array)) {
errText = 'range-queries need an array as third parameter';
Expand All @@ -6524,7 +6524,7 @@ if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) {
}
}

else if (J.in_array(op, ['!=', '>', '==', '>=', '<', '<='])){
else if (J.inArray(op, ['!=', '>', '==', '>=', '<', '<='])){
// Comparison queries need a third parameter.
if ('undefined' === typeof value) {
errText = 'value cannot be undefined in comparison queries';
Expand Down Expand Up @@ -7658,7 +7658,7 @@ if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) {
el = J.getNestedValue(key, db[i]);
if ('undefined' === typeof el) continue;
// Creates a new group and add entries to it.
if (!J.in_array(el, groups)) {
if (!J.inArray(el, groups)) {
groups.push(el);
out = this.filter(function(elem) {
if (J.equals(J.getNestedValue(key, elem), el)) {
Expand Down
2 changes: 1 addition & 1 deletion build/nddb.min.js

Large diffs are not rendered by default.

0 comments on commit 057727d

Please sign in to comment.