From 00050c3c215b078cf414fca01dd8b5a53041949f Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 11 Jun 2012 12:46:58 +0100 Subject: [PATCH] Keep JSHint happy --- core/modules/macros/color.js | 2 +- core/modules/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/macros/color.js b/core/modules/macros/color.js index 832ad60cb..bd4f5389b 100644 --- a/core/modules/macros/color.js +++ b/core/modules/macros/color.js @@ -17,7 +17,7 @@ Applies the specified colour to its content. By default, the colour value is obt exports.info = { name: "color", params: { - "default": {byName: "default", type: "text"}, + "default": {byName: "default", type: "text"} } }; diff --git a/core/modules/utils.js b/core/modules/utils.js index 8693efc75..ca9a2de87 100644 --- a/core/modules/utils.js +++ b/core/modules/utils.js @@ -305,7 +305,7 @@ Convert a hyphenated CSS property name into a camel case one exports.unHyphenateCss = function(propName) { if($tw.browser.unHyphenateCss) { return propName.replace(/-([a-z])/gi, function(match0,match1) { - return match1.toUpperCase(); + return match1.toUpperCase(); }); } else { return propName;