[ci skip] Add comment to regex

This commit is contained in:
Luke "Jared" Bennett 2017-04-27 17:06:55 +01:00
parent 6a6a672037
commit abde62b53e
No known key found for this signature in database
GPG Key ID: 402ED51FB5D306C2
1 changed files with 2 additions and 1 deletions

View File

@ -2,8 +2,9 @@ const DATA_TRIGGER = 'data-dropdown-trigger';
const DATA_DROPDOWN = 'data-dropdown';
const SELECTED_CLASS = 'droplab-item-selected';
const ACTIVE_CLASS = 'droplab-item-active';
const TEMPLATE_REGEX = /\{\{(.+?)\}\}/g;
const IGNORE_CLASS = 'droplab-item-ignore';
// Matches `{{anything}}` and `{{ everything }}`.
const TEMPLATE_REGEX = /\{\{(.+?)\}\}/g;
export {
DATA_TRIGGER,