UI.js: remove aliases #261

Closed
opened 2014-09-23 19:23:40 +00:00 by rlx · 0 comments
Owner

While attaching widgets (Ox.Element etc) and elements (Ox.$body etc.) directly to Ox is ok, utility functions and constants may be polluting the namespace. Also looks slightly weird in the documentation browser. So they should be attached to Ox.UI.

Candidates are: DIMENSIONS, EDGES, getImageData, getImageURL, getOxElement, hideScreen, IMAGES, isOxElement, PATH, SCROLLBAR_SIZE and THEMES.

While attaching widgets (Ox.Element etc) and elements (Ox.$body etc.) directly to Ox is ok, utility functions and constants may be polluting the namespace. Also looks slightly weird in the documentation browser. So they should be attached to Ox.UI. Candidates are: DIMENSIONS, EDGES, getImageData, getImageURL, getOxElement, hideScreen, IMAGES, isOxElement, PATH, SCROLLBAR_SIZE and THEMES.
rlx added the
Ox.UI
label 2014-09-23 19:23:40 +00:00
rlx self-assigned this 2014-09-23 19:23:40 +00:00
rlx added the
severity: normal
defect
0.1
0.1
labels 2014-09-23 19:23:40 +00:00
rlx changed title from Ox.UI.js: remove aliases to UI.js: remove aliases 2014-09-25 17:50:57 +00:00
rlx added the
fixed
label 2014-09-26 12:52:51 +00:00
rlx closed this issue 2014-09-26 12:52:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/oxjs#261
No description provided.