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 236722 - No methods are displayed in Navigator pane if enclosed as jQuery Plugin
Summary: No methods are displayed in Navigator pane if enclosed as jQuery Plugin
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-03 21:23 UTC by burza
Modified: 2013-11-27 09:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (36.25 KB, text/plain)
2013-10-03 21:23 UTC, burza
Details
Source JavaScript jQuery plugin (48.96 KB, text/javascript)
2013-10-03 21:24 UTC, burza
Details
jQuery plugin boilerplate (5.83 KB, application/x-javascript)
2013-11-13 16:23 UTC, koosvdkolk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description burza 2013-10-03 21:23:06 UTC
Product Version = NetBeans IDE 7.4 RC2 (Build 201309252201)
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) Client VM 23.25-b01
Comment 1 burza 2013-10-03 21:23:10 UTC
Created attachment 140778 [details]
IDE log
Comment 2 burza 2013-10-03 21:24:08 UTC
Created attachment 140779 [details]
Source JavaScript jQuery plugin
Comment 3 Vladimir Riha 2013-10-04 08:34:01 UTC
Thank you for reporting, reproducible. Reassigning to JavaScript/editor
Comment 4 koosvdkolk 2013-11-13 16:23:50 UTC
Created attachment 142150 [details]
jQuery plugin boilerplate
Comment 5 koosvdkolk 2013-11-13 16:24:53 UTC
I have attached another (quite common) jQuery design pattern rendering nothing at all in the Navigator.
Comment 6 Petr Pisl 2013-11-26 15:45:57 UTC
It would be doable through the method interceptors and shows the declared widget or extended class.
Comment 7 Petr Pisl 2013-11-27 08:28:19 UTC
So let's separate the cases. This issue will be about the $.extend case and I have created new issue #238856 for the $.widget case.
Comment 8 Petr Pisl 2013-11-27 08:48:47 UTC
The issue #238856 should now work. Please test it and if you find a problem, report it. Thanks
Comment 9 Petr Pisl 2013-11-27 09:10:39 UTC
The case from attachment #142150 [details] should be also fixed. Please test it and if you need to support another case, please provide it in a new issue. Thanks

Fixed in web-main: http://hg.netbeans.org/web-main/rev/71e9ea30d06c