« Return to Thread: Javascript mode: methods buffer not populated

Re: Javascript mode: methods buffer not populated

by fixerator :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
js2-mode by steve yegge :)
http://code.google.com/p/js2-mode/
 
I believe it's GPL.  If you dislike the orthogonality, maybe steal his parser to plug in to semantic?
 

> To: ecb-list@...
> From: ddwiggins@...
> Date: Thu, 18 Jun 2009 10:06:18 -0700
> Subject: [ECB-list] Javascript mode: methods buffer not populated
>
> I'm using ECB 2.40 with GNU Emacs 22.3.1 on Win XP. The Javascript
> parsing is practically useless. In one file, several functions defined
> as "var x = function(...) {...};" aren't picked up, but a simple "var
> x;" is. Also variables defined as "var x = new ...;" are ignored.
>
> In another file, which consists entirely of "traditional" function
> definitions ("function foo (...) {...}", nothing is shown.
>
> I suppose I should mention that the first file is mixed HTML and JS, and
> the mode line shows "Javascript/nxhtml", while the second has no HTML,
> and the mode is shown as "Javascript Moz".
>
> Any thoughts appreciated...
>
> --
> Don Dwiggins
> Advanced Publishing Technology
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Ecb-list mailing list
> Ecb-list@...
> https://lists.sourceforge.net/lists/listinfo/ecb-list


Insert movie times and more without leaving HotmailĀ®. See how.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

 « Return to Thread: Javascript mode: methods buffer not populated