diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-11 21:47:55 -0400 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-12 02:14:01 -0400 |
commit | 66d334ab51cfd201ba374afd5247d380b6c9b21f (patch) | |
tree | 299a2599d4a130a99a6350def4807c91696656aa /src/parseTools.js | |
parent | 35d2724c418af9350689bc81faa6fb9d21cb0937 (diff) |
avoid creating unnecessary objects when calling tokenize
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index 0ea8bc8d..e3b1df6d 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -280,7 +280,7 @@ function isFunctionType(type, out) { i--; } assert(argText); - return isFunctionDef({ text: argText, item: tokenize(argText.substr(1, argText.length-2), true) }, out); + return isFunctionDef({ text: argText, item: tokenize(argText.substr(1, argText.length-2)) }, out); } function getReturnType(type) { |