1
0
Fork 0
forked from 0x2620/oxjs

Ox.Clipboard: add events; Ox.Request: cleanup; Ox.MainMenu: use OxHighlight class; Themes: add bar highlight color and gradient

This commit is contained in:
rlx 2013-07-15 09:10:08 +00:00
commit 27bbbdbd83
8 changed files with 35 additions and 8 deletions

View file

@ -12,7 +12,6 @@ Ox.Request <o> Basic request controller
Ox.Request = (function() {
var cache = {},
$element,
pending = {},
requests = {},
self = {
@ -21,7 +20,8 @@ Ox.Request = (function() {
type: 'POST',
url: '/api/'
}
};
},
$element;
return {
/*@
@ -64,7 +64,7 @@ Ox.Request = (function() {
},
/*@
bindEvent <f> Unbind event
bindEvent <f> Bind event
@*/
bindEvent: function() {
if (!$element) {
@ -207,7 +207,6 @@ Ox.Request = (function() {
/*@
unbindEvent <f> Unbind event
@*/
// FIXME: Can this be removed?
unbindEvent: function() {
$element && $element.unbindEvent.apply(this, arguments);
}