Skip to content
Snippets Groups Projects
Commit 64af6017 authored by deuce's avatar deuce
Browse files

Change how the error is generated for old JS libraries.

parent d92ec1f6
No related branches found
No related tags found
No related merge requests found
var startup_path='.';
try { throw new Error() } catch(e) { startup_path=e.fileName }
try { throw barfitty.barf(barf) } catch(e) { startup_path=e.fileName }
startup_path=startup_path.replace(/[\/\\][^\/\\]*$/,'');
startup_path=backslash(startup_path);
......
var startup_path='.';
try { throw new Error() } catch(e) { startup_path=e.fileName }
try { throw barfitty.barf(barf) } catch(e) { startup_path=e.fileName }
startup_path=startup_path.replace(/[\/\\][^\/\\]*$/,'');
startup_path=backslash(startup_path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment