Skip to main content



      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 00:33
Eclipse UserFriend
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 06:00] by Moderator

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


Current Time: Tue Jul 08 08:35:08 EDT 2025

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

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

Back to the top