comment out some Ox.print calls
This commit is contained in:
parent
17d92a3ff7
commit
429d5c744b
4 changed files with 8 additions and 8 deletions
|
@ -103,7 +103,7 @@ Ox.Editable = function(options, self) {
|
||||||
function edit() {
|
function edit() {
|
||||||
var height, width;
|
var height, width;
|
||||||
if (self.options.editable && !self.options.editing) {
|
if (self.options.editable && !self.options.editing) {
|
||||||
Ox.print('EDIT???')
|
//Ox.print('EDIT???')
|
||||||
self.options.editing = true;
|
self.options.editing = true;
|
||||||
that.addClass('OxEditing');
|
that.addClass('OxEditing');
|
||||||
self.originalValue = self.options.value;
|
self.originalValue = self.options.value;
|
||||||
|
|
|
@ -114,7 +114,7 @@ Ox.InsertHTMLDialog = function(options, self) {
|
||||||
) + '>' + values.text + '</' + item.id + '>';
|
) + '>' + values.text + '</' + item.id + '>';
|
||||||
};
|
};
|
||||||
} else if (['h1', 'b', 'i', 'code', 's', 'sub', 'sup', 'u'].indexOf(item.id) > -1) {
|
} else if (['h1', 'b', 'i', 'code', 's', 'sub', 'sup', 'u'].indexOf(item.id) > -1) {
|
||||||
Ox.print(self.options.selection.indexOf('\n'), '?????????')
|
//Ox.print(self.options.selection.indexOf('\n'), '?????????')
|
||||||
form = [
|
form = [
|
||||||
Ox.Input({
|
Ox.Input({
|
||||||
height: 128,
|
height: 128,
|
||||||
|
@ -202,7 +202,7 @@ Ox.InsertHTMLDialog = function(options, self) {
|
||||||
|
|
||||||
function renderForm() {
|
function renderForm() {
|
||||||
var items = Ox.getObjectById(self.items, self.$select.value()).form;
|
var items = Ox.getObjectById(self.items, self.$select.value()).form;
|
||||||
Ox.print('??::""""????', self.$select.value())
|
//Ox.print('??::""""????', self.$select.value())
|
||||||
self.$form && self.$form.remove();
|
self.$form && self.$form.remove();
|
||||||
if (items.length) {
|
if (items.length) {
|
||||||
self.$form = Ox.Form({
|
self.$form = Ox.Form({
|
||||||
|
|
|
@ -1010,7 +1010,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeAnnotation(data) {
|
function removeAnnotation(data) {
|
||||||
Ox.print('REMOVE EVENT REACHED EDITOR', data)
|
//Ox.print('REMOVE EVENT REACHED EDITOR', data)
|
||||||
var layer = Ox.getObjectById(self.options.layers, data.layer),
|
var layer = Ox.getObjectById(self.options.layers, data.layer),
|
||||||
index = Ox.getIndexById(layer.items, data.id);
|
index = Ox.getIndexById(layer.items, data.id);
|
||||||
// deselect event will have fired before
|
// deselect event will have fired before
|
||||||
|
@ -1038,7 +1038,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function selectAnnotation(data, stayAtPosition) {
|
function selectAnnotation(data, stayAtPosition) {
|
||||||
Ox.print('SELECT ANNOTATION', data);
|
//Ox.print('SELECT ANNOTATION', data);
|
||||||
if (Ox.isUndefined(data)) {
|
if (Ox.isUndefined(data)) {
|
||||||
// doubleclick on small timeline
|
// doubleclick on small timeline
|
||||||
data = getAnnotation();
|
data = getAnnotation();
|
||||||
|
@ -1312,7 +1312,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
function updateWords(action) {
|
function updateWords(action) {
|
||||||
// action can be 'add' or 'remove'
|
// action can be 'add' or 'remove'
|
||||||
var words = [];
|
var words = [];
|
||||||
Ox.print('....', self.options.selected, getAnnotationValue(self.options.selected))
|
//Ox.print('....', self.options.selected, getAnnotationValue(self.options.selected))
|
||||||
Ox.forEach(Ox.count(Ox.words(
|
Ox.forEach(Ox.count(Ox.words(
|
||||||
getAnnotationValue(self.options.selected)
|
getAnnotationValue(self.options.selected)
|
||||||
)), function(count, value) {
|
)), function(count, value) {
|
||||||
|
|
|
@ -1175,7 +1175,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
} : null;
|
} : null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Ox.print('FIND RESULTS:', results);
|
//Ox.print('FIND RESULTS:', results);
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1440,7 +1440,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
}
|
}
|
||||||
left += control == 'position' ? self.positionWidth : 16
|
left += control == 'position' ? self.positionWidth : 16
|
||||||
});
|
});
|
||||||
Ox.print('TIMELINE_LEFT = ', left)
|
//Ox.print('TIMELINE_LEFT = ', left)
|
||||||
return left;
|
return left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue