From fae278abf06329428bc5d55371daaca656b14a43 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 17 Feb 2014 11:44:24 +0530 Subject: [PATCH] cosmetic changes --- source/Ox.UI/js/Core/URL.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index d42a0b25..2b70ef02 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -444,12 +444,11 @@ Ox.URL = function(options) { function constructCondition(condition) { var key = condition.key == '*' ? '' : condition.key, operator = condition.operator, - value; - value = ( - Ox.isArray(condition.value) ? condition.value : [condition.value] - ).map(function(value) { - return encodeValue(constructValue(value, condition.key)); - }).join(','); + value = ( + Ox.isArray(condition.value) ? condition.value : [condition.value] + ).map(function(value) { + return encodeValue(constructValue(value, condition.key)); + }).join(','); if (!key) { operator = operator.replace('=', ''); } else if (operator.indexOf('^') > -1) {