comment out some Ox.print calls

This commit is contained in:
j 2012-03-23 19:03:56 +01:00
parent 17d92a3ff7
commit 429d5c744b
4 changed files with 8 additions and 8 deletions

View file

@ -103,7 +103,7 @@ Ox.Editable = function(options, self) {
function edit() {
var height, width;
if (self.options.editable && !self.options.editing) {
Ox.print('EDIT???')
//Ox.print('EDIT???')
self.options.editing = true;
that.addClass('OxEditing');
self.originalValue = self.options.value;

View file

@ -114,7 +114,7 @@ Ox.InsertHTMLDialog = function(options, self) {
) + '>' + values.text + '</' + item.id + '>';
};
} 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 = [
Ox.Input({
height: 128,
@ -202,7 +202,7 @@ Ox.InsertHTMLDialog = function(options, self) {
function renderForm() {
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();
if (items.length) {
self.$form = Ox.Form({

View file

@ -1010,7 +1010,7 @@ Ox.VideoEditor = function(options, self) {
}
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),
index = Ox.getIndexById(layer.items, data.id);
// deselect event will have fired before
@ -1038,7 +1038,7 @@ Ox.VideoEditor = function(options, self) {
}
function selectAnnotation(data, stayAtPosition) {
Ox.print('SELECT ANNOTATION', data);
//Ox.print('SELECT ANNOTATION', data);
if (Ox.isUndefined(data)) {
// doubleclick on small timeline
data = getAnnotation();
@ -1312,7 +1312,7 @@ Ox.VideoEditor = function(options, self) {
function updateWords(action) {
// action can be 'add' or 'remove'
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(
getAnnotationValue(self.options.selected)
)), function(count, value) {

View file

@ -1175,7 +1175,7 @@ Ox.VideoPlayer = function(options, self) {
} : null;
});
}
Ox.print('FIND RESULTS:', results);
//Ox.print('FIND RESULTS:', results);
return results;
}
@ -1440,7 +1440,7 @@ Ox.VideoPlayer = function(options, self) {
}
left += control == 'position' ? self.positionWidth : 16
});
Ox.print('TIMELINE_LEFT = ', left)
//Ox.print('TIMELINE_LEFT = ', left)
return left;
}