[TxMt] Re: HTML output window: JavaScrip alert() and confirm()

Thomas Aylott oblivious at subtleGradient.com
Thu Sep 25 16:42:45 UTC 2008


On Thu, Sep 25, 2008 at 9:16 AM, Hans-Jörg Bibiko <bibiko at eva.mpg.de> wrote:
…

awesome.
Now implemented in Javascript Tools:
http://github.com/subtleGradient/javascript-tools.tmbundle/tree/master/Commands/Test%20Javascript.tmCommand

The Javascript Runner now logs errors to the web inspector console as
well as alerting with the filepath & corrected line number.

I used try/throw/catch to find out the current line number and then
offset the line number of your actual error.

--
Thomas Aylott
subtleGradient.com



More information about the textmate mailing list