Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSDT Object Literals
JSDT Object Literals [message #1713927] Sun, 08 November 2015 15:39
wnderer wanderer is currently offline wnderer wandererFriend
Messages: 1
Registered: November 2015
Junior Member
I'm working through some of the Firefox examples and this code generates JSDT errors.

const {Cc, Ci} = require("chrome");

var downloadManager = Cc[";1"]

The first line gives the error
- Syntax error on token "}", delete
this token

The last line gives the error
- Syntax error, insert "}" to complete Block

I believe JSDT is wrong and the code is correct.

Installation details
Eclipse IDE for C/C++ Developers epp.package.cpp
JavaScript Development Tools 1.5.2.v201401171657-7H7FFhXFC7sReuSlgtfhew Eclipse Web Tools Platform
Previous Topic:Deployment Assembly
Next Topic:Cannot change version of project facet EAR to 6.0
Goto Forum:

Current Time: Sun Nov 17 22:51:02 GMT 2019

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

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

Back to the top