Skip to content

Commit

Permalink
styling correction
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsos1os committed Jan 30, 2016
1 parent 05e6b45 commit 310e881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,12 +622,12 @@ comparisonFunctions.$size = function (obj, value) {

return (obj.length == value);
};
comparisonFunctions.$elemMatch = function (obj,value) {
comparisonFunctions.$elemMatch = function (obj, value) {
if (!util.isArray(obj)) { return false; }
var i = obj.length;
var result = false; // Initialize result
while (i--) {
if (match(obj[i],value)) { // If match for array element, return true
if (match(obj[i], value)) { // If match for array element, return true
result = true;
break;
}
Expand Down

0 comments on commit 310e881

Please sign in to comment.