Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » ATF » CommonJS AMD-style "define([...], function(...) {...});" compiler errors(Downloaded FireBug Javascript is throwing inconsistent errors on the "define([...], function(...) {...});" syntax)
CommonJS AMD-style "define([...], function(...) {...});" compiler errors [message #994370] Thu, 27 December 2012 05:33
rob montgomery is currently offline rob montgomeryFriend
Messages: 11
Registered: July 2012
Junior Member
I recently downloaded the latest .ZIP of the Firefox compatible FireBug code and created an Eclipse project from this code. I'm running:

Eclipse Java EE IDE for Web Developers.

Version: Juno Service Release 1
Build id: 20120920-0800

The javascript precompiler is throwing many errors on the CommonJS AMD-style of "define([...], function(...) {...});" (see the uploaded screen shots). Many of the files don't have errors, but about 50 of the files using this syntax are throwing errors and I can not identify any differences or fixes to correct these errors. I prefer to use Eclipse for Javascript development due to these kinds of tools, but, given that the FireBug source has gone through extensive testing, could this be an error in the JSDT precompiler (or syntax validator)?

The compilation error is "The left-hand side of an assignment must be a variable".

Of all the forums, this AJAX forum seemed to be the most appropriate for this question so if this is not the correct forum, please direct me to the correct one.

[Updated on: Thu, 27 December 2012 11:00]

Report message to a moderator

Previous Topic:ATF support Juno?
Next Topic:ATF Migrated to Web Browser Tools
Goto Forum:
  


Current Time: Tue Apr 30 19:03:26 GMT 2024

Powered by FUDForum. Page generated in 0.03813 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top