From 310e881906cb2c94fbcb9573885c41aeea211afb Mon Sep 17 00:00:00 2001 From: Dimitris Halatsis Date: Sat, 30 Jan 2016 14:08:30 +0200 Subject: [PATCH] styling correction --- lib/model.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/model.js b/lib/model.js index 0a289ab..8845bf8 100755 --- a/lib/model.js +++ b/lib/model.js @@ -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; }