| JSDT not parsing alternative fn syntax [message #216339] |
Sun, 29 June 2008 00:30  |
Chris DiGiano Messages: 9 Registered: July 2009 |
Junior Member |
|
|
I just installed Eclipse Ganymede with WTP 3.0. The JSDT module for
JavaScript editing seems to be coming along nicely. However, it doesn't
seem to recognize functions defined using the following syntax:
alertHello = function() {
alert('hello');
}
It has no trouble parsing
function alertHello() {
alert('hello');
}
The former syntax is useful for defining method on objects, so this seems
to be an important missing feature.
Or am I missing some configuration trick?
Chris
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02011 seconds