Side navigation
#10442 closed feature (wontfix)
Opened October 06, 2011 06:33PM UTC
Closed March 10, 2012 04:18AM UTC
Last modified March 14, 2012 07:13AM UTC
Integrate widget factory
Reported by: | jzaefferer | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | core | Version: | git |
Keywords: | 1-8-discuss | Cc: | |
Blocked by: | Blocking: |
Description
This ticket is mostly meant to start a discussion around the jQuery UI widget factory, and potentially integrating it into jQuery Core to make it more accessible to (plugin) developers. Even in the likely case of not landing it, getting feedback on the current design from core developers would be very useful.
Current version is here, there is a bunch of new features going to land in 1.9: https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.widget.js
Unit tests are here: https://github.com/jquery/jquery-ui/tree/master/tests/unit/widget
Documentation (wip) is here: https://github.com/scottgonzalez/widget-factory-docs (doesn't yet cover the internal API, like _create, _bind and more).
Attachments (0)
Change History (7)
Changed October 06, 2011 06:34PM UTC by comment:1
description: | This ticket is mostly meant to start a discussion around the jQuery UI widget factory, and potentially integrating it into jQuery Core to make it more accessible to (plugin) developers. Even in the likely case of not landing it, getting feedback on the current design from core developers would be very useful. \ \ Current version is here, there is a bunch of new features going to land in 1.9: https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.widget.js \ \ Unit tests are here: https://github.com/jquery/jquery-ui/tree/master/tests/unit/widget \ \ Documentation (wip) is here: https://github.com/scottgonzalez/widget-factory-docs (doesn't yet cover the internal API, like _create, _bind and more). \ \ PS: Please add keyword/milestone 1-8-discuss → This ticket is mostly meant to start a discussion around the jQuery UI widget factory, and potentially integrating it into jQuery Core to make it more accessible to (plugin) developers. Even in the likely case of not landing it, getting feedback on the current design from core developers would be very useful. \ \ Current version is here, there is a bunch of new features going to land in 1.9: https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.widget.js \ \ Unit tests are here: https://github.com/jquery/jquery-ui/tree/master/tests/unit/widget \ \ Documentation (wip) is here: https://github.com/scottgonzalez/widget-factory-docs (doesn't yet cover the internal API, like _create, _bind and more). |
---|---|
keywords: | → 1-8-discuss |
milestone: | None → 1.8 |
Changed October 06, 2011 06:39PM UTC by comment:2
I'm not really sure what we'll get out of this. John did a review a while ago and I incorporated all of his feedback in the 1.8 release.
Changed October 07, 2011 01:47AM UTC by comment:3
component: | unfiled → core |
---|---|
status: | new → open |
Moving to open for 1.8 discussion.
Changed January 30, 2012 05:23PM UTC by comment:4
milestone: | 1.8 → 1.next |
---|
We're not planning to do this in 1.8.
Changed February 08, 2012 06:28PM UTC by comment:5
What about the discussion of moving $.widget into core? Alone, $.widget is a very powerful tool for creating plugins, and has almost no dependencies on anything else in UI. It could be very useful to pull the hierarchy and bridge code out, say into core jquery.plugin.js, and leave jquery.widget.js with the $.Widget code, as that is specific to UI plugin lifecycles.
Changed February 08, 2012 06:31PM UTC by comment:6
We don't require either in core, and our emphasis with 1.8 is to reduce bloat. Users can easily combine whatever plugins they require into a single file for their own project needs.
Changed March 10, 2012 04:18AM UTC by comment:7
resolution: | → wontfix |
---|---|
status: | open → closed |
I don't see any good reasons for putting this in core, since we don't have a dependency on it, so I'll close this ticket.