forked from 0x2620/oxjs
use Ox.Log
This commit is contained in:
parent
92d25b6776
commit
dce2843303
50 changed files with 276 additions and 276 deletions
|
|
@ -253,7 +253,7 @@ Ox.Element = function(options, self) {
|
|||
}
|
||||
|
||||
function mousemove(e) {
|
||||
//Ox.print('mousemove!!')
|
||||
//Ox.Log('Core', 'mousemove!!')
|
||||
that.$tooltip.options({
|
||||
title: self.options.tooltip(e)
|
||||
}).show(e);
|
||||
|
|
@ -324,8 +324,8 @@ Ox.Element = function(options, self) {
|
|||
that.$element.find('.OxElement').each(function() {
|
||||
var oxid = $(this).data('oxid'),
|
||||
element = Ox.UI.elements[oxid];
|
||||
//!element && Ox.print('NO ELEMENT FOR', oxid, this.className)
|
||||
//element && Ox.print('OK', oxid, this.className)
|
||||
//!element && Ox.Log('Core', 'NO ELEMENT FOR', oxid, this.className)
|
||||
//element && Ox.Log('Core', 'OK', oxid, this.className)
|
||||
element && element.removeElement(false);
|
||||
});
|
||||
that.$element.empty();
|
||||
|
|
@ -388,8 +388,8 @@ Ox.Element = function(options, self) {
|
|||
remove !== false && that.$element.find('.OxElement').each(function() {
|
||||
var oxid = $(this).data('oxid'),
|
||||
element = Ox.UI.elements[oxid];
|
||||
//!element && Ox.print('NO ELEMENT FOR', oxid, this.className)
|
||||
//element && Ox.print('OK', oxid, this.className)
|
||||
//!element && Ox.Log('Core', 'NO ELEMENT FOR', oxid, this.className)
|
||||
//element && Ox.Log('Core', 'OK', oxid, this.className)
|
||||
element && element.removeElement(false);
|
||||
});
|
||||
//*/
|
||||
|
|
@ -406,7 +406,7 @@ Ox.Element = function(options, self) {
|
|||
orphaned++;
|
||||
}
|
||||
});
|
||||
Ox.print('LEN', len, '-->', Ox.len(Ox.UI.elements), 'orphaned:', orphaned);
|
||||
Ox.Log('Core', 'LEN', len, '-->', Ox.len(Ox.UI.elements), 'orphaned:', orphaned);
|
||||
}
|
||||
*/
|
||||
return that;
|
||||
|
|
@ -435,7 +435,7 @@ Ox.Element = function(options, self) {
|
|||
'playing', 'position', 'progress'
|
||||
].indexOf(event) == -1) {
|
||||
if (!/^pandora_/.test(event)) {
|
||||
Ox.print(that.id, self.options.id, 'trigger', event, data);
|
||||
Ox.Log('Core', that.id, self.options.id, 'trigger', event, data);
|
||||
}
|
||||
}
|
||||
// it is necessary to check if self.$eventHandler exists,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue