summaryrefslogtreecommitdiff
path: root/lib/scripts/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scripts/helpers.js')
-rw-r--r--lib/scripts/helpers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scripts/helpers.js b/lib/scripts/helpers.js
index 8d4f3ea78..129964d29 100644
--- a/lib/scripts/helpers.js
+++ b/lib/scripts/helpers.js
@@ -109,7 +109,7 @@ function isEmpty (prop /* :Object */) /* :Boolean */ {
if (isRegExp(prop) && new RegExp("").toString() == prop.toString()) return true;
if (isString(prop) || isNumber(prop)) return !prop;
if (Boolean(prop)&&false != prop) {
- for (var i in prop) if(prop.hasOwnProperty(i)) return false
+ for (var i in prop) if(prop.hasOwnProperty(i)) return false;
}
return true;
}
@@ -124,7 +124,7 @@ function isEmpty (prop /* :Object */) /* :Boolean */ {
if ('undefined' == typeof Object.hasOwnProperty) {
Object.prototype.hasOwnProperty = function (prop) {
return !('undefined' == typeof this[prop] || this.constructor && this.constructor.prototype[prop] && this[prop] === this.constructor.prototype[prop]);
- }
+ };
}
/**