remove obsolete line

Signed-off-by: onekiloparsec <cedric@onekilopars.ec>
This commit is contained in:
onekiloparsec
2017-07-06 15:25:36 +02:00
parent a1b26f34e3
commit d86f5bc6f8

View File

@@ -109,7 +109,6 @@
default: 300,
validator (value) {
if (typeof value === 'string') {
const reg = RegExp('^(\d+|\d+[.]\d+)%?$')
return value === 'auto' || (value.charAt(value.length-1) === '%' && !isNaN(parseFloat(value)))
}