Hi,
if I have an HTML page (TM's HTML output window) with embedded JavaScript and my JavaScript is not correct I can press the right mouse button and invoke 'Inspect Element' to look at the JavaScript error(s). Fine.
But is there a way to access the(se) error(s) from outside, I mean by a script?
If not, would it be possible to redirect the(se) error(s) to a log file?
Many thanks in advance,
--Hans
Sorry for double-postings but my mail client said that there was an error, thus I rewrote it.
--Hans
You could wrap the thing in a try...catch and on catch tell TextMate.system to write to a log file.
Actually a great idea for the javascript tools bundle script runner.
-- Thomas Aylott / SubtleGradient (from iPhone)
On Sep 23, 2008, at 4:26 PM, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
Hi,
if I have an HTML page (TM's HTML output window) with embedded JavaScript and my JavaScript is not correct I can press the right mouse button and invoke 'Inspect Element' to look at the JavaScript error(s). Fine.
But is there a way to access the(se) error(s) from outside, I mean by a script?
If not, would it be possible to redirect the(se) error(s) to a log file?
Many thanks in advance,
--Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate