diff options
author | ache <ache@ache.one> | 2018-02-07 00:32:17 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2018-02-07 00:32:17 +0100 |
commit | 00df81da7a9f5c9c407437c77e347d31a1c9a99e (patch) | |
tree | 1821b806aaf87fc8d9ac63813359fc7758e29553 | |
parent | add tests with AVA (diff) |
resolve the empty test
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ function plugin() { prop.type = 'text'; } - prop.placeholder = subvalue.replace(/^_*/g, '').replace(/_*$/g, ''); + prop.placeholder = subvalue.replace(/^_*/g, '').replace(/_*$/g, '') || undefined; if (index < length) { return eat(START + subvalue.slice(1) + END.slice(1) + letsEat)({ |