Closed aronwoost closed 9 years ago
When trying to load a not-existing-file in node environment, currently the script does nothing, it simply hangs (in the browser xhr correctly throws 404).
This PR throws the ENOENT error raised by fs.readFileSync in require.text.js.
fs.readFileSync
@aronwoost I squashed and merged manually. Thanks!
When trying to load a not-existing-file in node environment, currently the script does nothing, it simply hangs (in the browser xhr correctly throws 404).
This PR throws the ENOENT error raised by
fs.readFileSync
in require.text.js.