This commit is contained in:
Per Sandström 2015-09-25 22:01:01 +02:00
parent 793e3ec6c3
commit 0c720f7274

View File

@ -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;