This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245950 - 'Unused' references in requirejs sample in NB
Summary: 'Unused' references in requirejs sample in NB
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 10:21 UTC by Geertjan Wielenga
Modified: 2014-07-27 22:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
'unused' in requirejs sample (13.43 KB, image/png)
2014-07-24 10:21 UTC, Geertjan Wielenga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geertjan Wielenga 2014-07-24 10:21:50 UTC
Created attachment 148271 [details]
'unused' in requirejs sample

Look at the basic sample for RequireJS in the latest NetBeans dev build:

https://github.com/volojs/create-template

Get to the above page from here:

http://requirejs.org/docs/start.html#examples

What's the reason for all the grey underline (i.e., unused references) in the attached screenshot?

Seems wrong information, regardless of the reason.
Comment 1 Petr Pisl 2014-07-25 09:41:19 UTC
Fixed in web-main. The problem was in wrong assignment offset, when the RequireJS module adds new assignments to variables.
Comment 2 Quality Engineering 2014-07-26 01:24:22 UTC
Integrated into 'main-silver', will be available in build *201407260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/031d26230908
User: Petr Pisl <ppisl@netbeans.org>
Log: #245950 - 'Unused' references in requirejs sample in NB