(path)
| 71 | // `/` should be present at the end if `scriptDirectory` is not empty |
| 72 | var scriptDirectory = ''; |
| 73 | function locateFile(path) { |
| 74 | if (Module['locateFile']) { |
| 75 | return Module['locateFile'](path, scriptDirectory); |
| 76 | } |
| 77 | return scriptDirectory + path; |
| 78 | } |
| 79 | |
| 80 | // Hooks that are implemented differently in different runtime environments. |
| 81 | var read_, |