diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-10 15:11:31 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-10 15:11:31 -0800 |
commit | e4a43c6d3cdc8756b45d1a86824c6fd81b581e0f (patch) | |
tree | aac86da8675f50b7d5500aa8014d47fa92ad9a21 /src/modules.js | |
parent | 71a558585623a8cd564a55d1a7d2af6032c29ff8 (diff) |
properly name Math.* redirects in function table
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.js b/src/modules.js index 18e98d76..b5a30866 100644 --- a/src/modules.js +++ b/src/modules.js @@ -290,7 +290,7 @@ var Functions = { if (table[i]) { var libName = LibraryManager.getRootIdent(table[i].substr(1)); if (libName && typeof libName == 'string') { - table[i] = '_' + libName; + table[i] = (libName.indexOf('.') < 0 ? '_' : '') + libName; } } } |