1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-26 15:23:15 +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 = {
name: "color",
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) {
if($tw.browser.unHyphenateCss) {
return propName.replace(/-([a-z])/gi, function(match0,match1) {
return match1.toUpperCase();
return match1.toUpperCase();
});
} else {
return propName;