Javascript mode: methods buffer not populated

Don Dwiggins <[email protected]> Thu, 18 Jun 2009 10:06:18 -0700
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
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