mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 02:38:53 +00:00
lint fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user