Skip to content

Commit

Permalink
fix getDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Aug 15, 2014
1 parent 1a5ad5f commit 3037953
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/sea-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ function parseDependencies(s) {
index += r.length - 2
}
else {
index += /^[\w$.\s]+/.exec(s2)[0].length - 1
index += /^[\w$]+(?:\s*\.\s*[\w$]+)*/.exec(s2)[0].length - 1
}
}
function isNumber() {
Expand Down
2 changes: 1 addition & 1 deletion dist/sea.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/util-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function parseDependencies(s) {
index += r.length - 2
}
else {
index += /^[\w$.\s]+/.exec(s2)[0].length - 1
index += /^[\w$]+(?:\s*\.\s*[\w$]+)*/.exec(s2)[0].length - 1
}
}
function isNumber() {
Expand Down

0 comments on commit 3037953

Please sign in to comment.