I want to check if color value is equal to #FFFFFF.I get an error. Is there a way to do this? below is my code
else if(color==#FFFFFF){
updateFile(main, [
{rule: ".made-easy-themeColor", target: "color", replacer: color},
{rule: ".made-easy-themeFont", target: "font-family", replacer: font},
{rule: ".made-easy-themeFontSize", target: "font-size", replacer: fontSize + "em"}
], function (err) {
console.log((err));
});
}
Aucun commentaire:
Enregistrer un commentaire