Skip to content

Commit

Permalink
fix: fix unreachable async callback invokation by several transpilers
Browse files Browse the repository at this point in the history
'this' to be deprecated in the next release due to inconsistent API
  • Loading branch information
k1r0s committed Dec 7, 2017
1 parent 4600caf commit 084e0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/CallStackIterator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ export class CallStackIterator {
.replace(/(["'])(?:(?=(\\?))\2.)*?\1/g, "")
// Remove comments
.replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(\/\/.*)/g, "")
.match(/[a-zA-Z$]\.next[\W]/g)
.match(/.next/);
}
}

0 comments on commit 084e0d1

Please sign in to comment.