From 429d5c744bb0d1591d73f490935a261a78e9cc3c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 23 Mar 2012 19:03:56 +0100 Subject: [PATCH] comment out some Ox.print calls --- source/Ox.UI/js/Form/Ox.Editable.js | 2 +- source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js | 4 ++-- source/Ox.UI/js/Video/Ox.VideoEditor.js | 6 +++--- source/Ox.UI/js/Video/Ox.VideoPlayer.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/Ox.UI/js/Form/Ox.Editable.js b/source/Ox.UI/js/Form/Ox.Editable.js index f36430d7..f56f46c8 100644 --- a/source/Ox.UI/js/Form/Ox.Editable.js +++ b/source/Ox.UI/js/Form/Ox.Editable.js @@ -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; diff --git a/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js b/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js index 4d9ceff9..bd25cfdf 100644 --- a/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js +++ b/source/Ox.UI/js/Form/Ox.InsertHTMLDialog.js @@ -114,7 +114,7 @@ Ox.InsertHTMLDialog = function(options, self) { ) + '>' + values.text + ''; }; } 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({ diff --git a/source/Ox.UI/js/Video/Ox.VideoEditor.js b/source/Ox.UI/js/Video/Ox.VideoEditor.js index eae0ff3e..3a70df05 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditor.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditor.js @@ -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) { diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index e4b62816..066023f8 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -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; }