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

Use barfitty.barf.barf() instead of new Error() so the pathName is

included in the error object for JS 1.5 (used in Win32 builds)
parent f60441e3
Branches
Tags
No related merge requests found
var startup_path='.';
try { throw new Error() } catch(e) { startup_path=e.fileName }
try { throw barfitty.bar.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.
Please register or to comment