mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Keep JSHint happy
This commit is contained in:
parent
9f86f98cb1
commit
00050c3c21
@ -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"}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user