Re: Javascript mode: methods buffer not populated

John Watson <[email protected]> Thu, 18 Jun 2009 10:55:01 -0700
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
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: [email protected]
> From: [email protected]
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ecb-list

_________________________________________________________________
Insert movie times and more without leaving HotmailĀ®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list