mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 22:06:34 +00:00
lint fix
This commit is contained in:
parent
793e3ec6c3
commit
0c720f7274
@ -51,7 +51,7 @@ export default new Polymer({
|
|||||||
computed: 'validateCode(enteredCode, codeFormat)',
|
computed: 'validateCode(enteredCode, codeFormat)',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
validateCode: function(code, format) {
|
validateCode(code, format) {
|
||||||
const re = new RegExp(format);
|
const re = new RegExp(format);
|
||||||
if (format === null) {
|
if (format === null) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user