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 246454 - Navigation from data-main not working with .js
Summary: Navigation from data-main not working with .js
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-14 11:34 UTC by Vladimir Riha
Modified: 2015-04-03 11:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-08-14 11:34:03 UTC
If you have a following script element

<script data-main="js/page1.js" src="js/lib/require.js"></script>

then go to declaration for data-main does not work because of the ".js" part. RequireJS as such seems to work with both cases.

Thank you


Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408122300)
Java: 1.7.0_65; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b17
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 1 Roman Svitanic 2015-03-31 12:10:36 UTC
Changeset: 624825953003
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-03-31 14:09
Message:   #246454: Navigation from data-main not working with .js - fixed
Comment 2 Quality Engineering 2015-04-01 02:53:57 UTC
Integrated into 'main-silver', will be available in build *201504010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/624825953003
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #246454: Navigation from data-main not working with .js - fixed
Task #246454 - Navigation from data-main not working with .js
Comment 3 Vladimir Riha 2015-04-03 11:03:55 UTC
Verified, thank you

Product Version: NetBeans IDE Dev (Build 201504030001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)