commit | 3b253d3636b70cf15554285b9b4d0c8b9e558a62 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Sun Jul 15 10:16:06 2018 +0200 |
committer | Akron <nils@diewald-online.de> | Sun Jul 15 10:16:06 2018 +0200 |
tree | 269d8420632f1bcd354f4ef04167dad262dd33db | |
parent | 3967d34a9000d52d9ee8c951a6ff8a9a51b1eb7e [diff] |
Minor ES6 improvements Change-Id: Ibf956915d1b7769dc5cc22a870f4484f492da723
diff --git a/dev/js/src/hint/foundries.js b/dev/js/src/hint/foundries.js index f37cb7d..256ee76 100644 --- a/dev/js/src/hint/foundries.js +++ b/dev/js/src/hint/foundries.js
@@ -16,7 +16,8 @@ if (!anno) return; - if (value.indexOf(':') < 0) { + // if (value.indexOf(':') < 0) { + if (!value.includes(':')) { value += ' '; // Iterate over all annotations and add the descriptions