()
| 598 | } |
| 599 | |
| 600 | function exportLibrarySymbols() { |
| 601 | assert(MODULARIZE != 'instance'); |
| 602 | const results = ['// Begin JS library exports']; |
| 603 | for (const ident of librarySymbols) { |
| 604 | if ((EXPORT_ALL || EXPORTED_FUNCTIONS.has(ident)) && !nativeAliases[ident]) { |
| 605 | results.push(exportSymbol(ident)); |
| 606 | } |
| 607 | } |
| 608 | results.push('// End JS library exports'); |
| 609 | return results.join('\n ') + '\n'; |
| 610 | } |
| 611 | |
| 612 | function exportJSSymbols() { |
| 613 | // In MODULARIZE=instance mode JS library symbols are marked with `export` |
no test coverage detected