1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +00:00

Keep JSHint happy

This commit is contained in:
Jeremy Ruston 2012-06-11 12:46:58 +01:00
parent 9f86f98cb1
commit 00050c3c21
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Applies the specified colour to its content. By default, the colour value is obt
exports.info = { exports.info = {
name: "color", name: "color",
params: { params: {
"default": {byName: "default", type: "text"}, "default": {byName: "default", type: "text"}
} }
}; };

View File

@ -305,7 +305,7 @@ Convert a hyphenated CSS property name into a camel case one
exports.unHyphenateCss = function(propName) { exports.unHyphenateCss = function(propName) {
if($tw.browser.unHyphenateCss) { if($tw.browser.unHyphenateCss) {
return propName.replace(/-([a-z])/gi, function(match0,match1) { return propName.replace(/-([a-z])/gi, function(match0,match1) {
return match1.toUpperCase(); return match1.toUpperCase();
}); });
} else { } else {
return propName; return propName;