Skip to main content

Search and Top Navigation

#2519 closed bug (fixed)

Opened March 14, 2008 09:03PM UTC

Closed March 15, 2008 02:15PM UTC

Last modified February 26, 2009 12:00PM UTC

[UI] namespacing (events and data)

Reported by: scottgonzalez Owned by: scottgonzalez
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.

Attachments (0)
Change History (3)

Changed March 15, 2008 02:15PM UTC by scottgonzalez comment:1

resolution: → fixed
status: newclosed

Fixed in [4966].

Changed May 24, 2008 03:39AM UTC by comment:2

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 12:00PM UTC by paul comment:3

milestone: → 1.5