[TxMt] Re: HTML output window: JavaScrip alert() and confirm()
Hans-Jörg Bibiko
bibiko at eva.mpg.de
Thu Sep 25 18:13:21 UTC 2008
On 25.09.2008, at 18:42, Thomas Aylott wrote:
> 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.
Excellent!! I will try whether I can adapt your code to the error
handling of Objective-J (I know it's a stony way but maybe I can find
a way).
--Hans
More information about the textmate
mailing list