mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +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)',
|
||||
},
|
||||
},
|
||||
validateCode: function(code, format) {
|
||||
validateCode(code, format) {
|
||||
const re = new RegExp(format);
|
||||
if (format === null) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user