Bug Tracker


Opened 6 years ago

Closed 6 years ago

#7561 closed enhancement (wontfix)

Manage a plugin registry table

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: needsreview Cc:
Blocked by: Blocking:


An issue I found using Jquery plugins on a website managed with a content-centric CMS is its capability to know if a pluggin is already loaded. A nice feature would be to maintain a plugin regsitry list in jQuery core and access the list like $.isRegister(aPlugginId-aPlugginVersion). Plugins compatible with this version are responsible of their own registration.

For example I have a page with 3 code snippets, 1 for rendering an event that require a date picker, and 2 times the same snippet for rendering an image gallery. The first time the snippet for the galery is called it will load the required pluggin. The second time as it will see it's already present in the registry, no need to load the pluggin.

Hope this makes sense

Change History (2)

comment:1 Changed 6 years ago by snover

  • Keywords needsreview added

comment:2 Changed 6 years ago by SlexAxton

  • Resolution set to wontfix
  • Status changed from new to closed

This seems like something you'd want to do with a dependency management solution like requirejs or stealjs. jQuery currently isn't throwing its cards into that game, but may in the future, but as a full system, not as a specifically plugin registration system. You could build this as a plugin though.

Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Modify Ticket

Change Properties

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.