diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 8702ee23..5e5baf33 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1241,7 +1241,9 @@ function JSify(data, functionsOnly, givenFunctions) { var callIdent = LibraryManager.getRootIdent(shortident); if (callIdent) { shortident = callIdent; // ident may not be in library, if all there is is ident__inline, but in this case it is - callIdent = '_' + callIdent; + if (callIdent.indexOf('.') < 0) { + callIdent = '_' + callIdent; // Not Math.*, so add the normal prefix + } } else { callIdent = ident; } |