Skip to content

Commit

Permalink
Build files for version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
silentmatt committed Sep 6, 2017
1 parent 695395f commit d7f8884
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,13 @@ function getSymbols(tokens, symbols, options) {
for (var i = 0; i < tokens.length; i++) {
var item = tokens[i];
if (item.type === IVAR && !contains(symbols, item.value)) {
if (prevVar !== null || !withMembers) {
if (!withMembers) {
symbols.push(item.value);
} else if (prevVar !== null) {
if (!contains(symbols, prevVar)) {
symbols.push(prevVar);
}
prevVar = item.value;
} else {
prevVar = item.value;
}
Expand Down

0 comments on commit d7f8884

Please sign in to comment.