Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2519 closed bug (fixed)

[UI] namespacing (events and data)

Reported by: Scott González Owned by: Scott González
Priority: critical Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:

Description

All UI plugins should store their instances as:

$(el).data('<plugin>');

not:

$(el).data('ui-<plugin>');

All bound events, including setData and getData should be in the "<plugin>" namespace, not "ui-<plugin>".

The only place "ui-<plugin>" will be used is in CSS to prevent collisions with common class names.

Change History (3)

comment:1 Changed 12 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in [4966].

comment:2 Changed 11 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:3 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.