mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 09:30: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 = {
|
exports.info = {
|
||||||
name: "color",
|
name: "color",
|
||||||
params: {
|
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) {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user