diff --git a/source/Ox.Image/Ox.Image.js b/source/Ox.Image/Ox.Image.js index 00d65c7b..a8490e47 100644 --- a/source/Ox.Image/Ox.Image.js +++ b/source/Ox.Image/Ox.Image.js @@ -68,7 +68,6 @@ Ox.load.Image = function(options, callback) { that.context.fillStyle = ( self.background.length == 3 ? 'rgb' : 'rgba' ) + '(' + self.background.join(', ') + ')'; - Ox.print('----------------------------------', self.width, self.height, that.context.fillStyle) that.context.fillRect(0, 0, self.width, self.height); } self.imageData = that.context.getImageData( diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index eaa1e3ee..55d3a52e 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -373,7 +373,6 @@ Ox.load.UI = function(options, callback) { () -> hide loading screen @*/ Ox.UI.hideLoadingScreen = function() { - //Ox.print('hideLoadingScreen') var $div = $('.OxLoadingScreen'), error = $div.is('.OxError'); //$div.find('img').remove(); diff --git a/source/Ox.UI/js/Form/Editable.js b/source/Ox.UI/js/Form/Editable.js index e8e66888..12f6a69f 100644 --- a/source/Ox.UI/js/Form/Editable.js +++ b/source/Ox.UI/js/Form/Editable.js @@ -125,7 +125,6 @@ Ox.Editable = function(options, self) { function edit() { var height, width; if (self.options.editable && !self.options.editing) { - //Ox.print('EDIT???') self.options.editing = true; that.addClass('OxEditing'); self.originalValue = self.options.value; diff --git a/source/Ox.UI/js/Form/FileInput.js b/source/Ox.UI/js/Form/FileInput.js index 3534a7f5..6ddab3b6 100644 --- a/source/Ox.UI/js/Form/FileInput.js +++ b/source/Ox.UI/js/Form/FileInput.js @@ -154,7 +154,6 @@ Ox.FileInput = function(options, self) { // try to add small files first return a.size - b.size; }).forEach(function(file) { - Ox.print('::', file, exists(file), self.options.value) if (!exists(file) && ( self.options.maxFiles == -1 || self.options.value.length < self.options.maxFiles diff --git a/source/Ox.UI/js/Form/InsertHTMLDialog.js b/source/Ox.UI/js/Form/InsertHTMLDialog.js index 8c39d862..360e7cf9 100644 --- a/source/Ox.UI/js/Form/InsertHTMLDialog.js +++ b/source/Ox.UI/js/Form/InsertHTMLDialog.js @@ -120,7 +120,6 @@ 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'), '?????????') form = [ Ox.Input({ height: 128, @@ -208,7 +207,6 @@ Ox.InsertHTMLDialog = function(options, self) { function renderForm() { var items = Ox.getObjectById(self.items, self.$select.value()).form; - //Ox.print('??::""""????', self.$select.value()) self.$form && self.$form.remove(); if (items.length) { self.$form = Ox.Form({ diff --git a/source/Ox.UI/js/List/IconItem.js b/source/Ox.UI/js/List/IconItem.js index ae4cd7a5..aa9618b6 100644 --- a/source/Ox.UI/js/List/IconItem.js +++ b/source/Ox.UI/js/List/IconItem.js @@ -40,8 +40,6 @@ Ox.IconItem = function(options, self) { }) .options(options || {}); - //Ox.print('ICON ITEM FIND', self.options.find) - Ox.extend(self, { fontSize: self.options.itemWidth == 64 ? 6 : 9, infoIsObject: Ox.isObject(self.options.info), diff --git a/source/Ox.UI/js/Map/Map.js b/source/Ox.UI/js/Map/Map.js index 079a298b..978109d2 100644 --- a/source/Ox.UI/js/Map/Map.js +++ b/source/Ox.UI/js/Map/Map.js @@ -587,7 +587,6 @@ Ox.Map = function(options, self) { var place = getSelectedPlace(), country = Ox.getCountryByGeoname(place.geoname); Ox.extend(place, data); - //Ox.print('addPlaceToPlaces, place name:', place.name) self.options.selected = place.id; place.countryCode = country ? country.code : ''; Ox.Log('Map', 'addP2P', data, place); @@ -956,7 +955,6 @@ Ox.Map = function(options, self) { function mapChanged() { // gets called after panning or zooming - //Ox.print('Map', 'mapChanged'); if (self.boundsChanged) { var bounds = self.map.getBounds(), southWest = bounds.getSouthWest(), @@ -1158,7 +1156,6 @@ Ox.Map = function(options, self) { self.places.splice(Ox.getIndexById(self.places, place.id), 1); self.resultPlace && self.resultPlace.remove(); self.resultPlace = place; - //Ox.print('removed place, place is now', place); place.marker.update(); place.rectangle.update(); } @@ -1170,7 +1167,6 @@ Ox.Map = function(options, self) { } function selectPlace(id, zoom) { - //Ox.print('SELECT PLACE', id) // id can be null (deselect) var place, selected = getSelectedMarker(); if (!self.loaded) { diff --git a/source/Ox.UI/js/Video/VideoEditor.js b/source/Ox.UI/js/Video/VideoEditor.js index 85b8c6e3..d71fceda 100644 --- a/source/Ox.UI/js/Video/VideoEditor.js +++ b/source/Ox.UI/js/Video/VideoEditor.js @@ -239,8 +239,6 @@ Ox.VideoEditor = function(options, self) { self.results = []; self.words = getWords(); - //Ox.print('VIDEO EDITOR OPTIONS', self.options) - self.$editor = Ox.Element() .addClass('OxVideoEditor') .mousedown(function(e) { @@ -673,7 +671,6 @@ Ox.VideoEditor = function(options, self) { }) .bindEvent({ add: function(data) { - //Ox.print('ADD EVENT REACHED EDITOR', data) addAnnotation(data.layer); }, annotationsfont: function(data) { @@ -689,7 +686,6 @@ Ox.VideoEditor = function(options, self) { that.triggerEvent('annotationssort', data); }, blur: function(data) { - //Ox.print('VIDEO EDITOR BLUR') // Only blur if the video editor did not receive the click, // no dialog is open, and no menu was visible if ( @@ -707,7 +703,6 @@ Ox.VideoEditor = function(options, self) { that.triggerEvent('define', data); }, edit: function(data) { - //Ox.print('EDIT EVENT REACHED EDITOR', data) updateWords('remove'); self.editing = true; setTimelineState(); @@ -1070,7 +1065,6 @@ Ox.VideoEditor = function(options, self) { } function removeAnnotation(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 @@ -1098,7 +1092,6 @@ Ox.VideoEditor = function(options, self) { } function selectAnnotation(data, stayAtPosition) { - //Ox.print('SELECT ANNOTATION', data); if (Ox.isUndefined(data)) { // doubleclick on small timeline data = getAnnotation(); @@ -1377,7 +1370,6 @@ 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.forEach(Ox.count(Ox.words( getAnnotationValue(self.options.selected) )), function(count, value) { diff --git a/source/Ox.UI/js/Video/VideoPanel.js b/source/Ox.UI/js/Video/VideoPanel.js index 3b1c8ca6..26383ec8 100644 --- a/source/Ox.UI/js/Video/VideoPanel.js +++ b/source/Ox.UI/js/Video/VideoPanel.js @@ -387,7 +387,6 @@ Ox.VideoPanel = function(options, self) { /* function resizePanel(data) { // called on annotations toggle <-- FIXME: NOT TRUE - Ox.print('RESIZEPANEL----------') self.$video.options({ width: getPlayerWidth() }); diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index dcdf6c70..b7465bb4 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -1241,7 +1241,6 @@ Ox.VideoPlayer = function(options, self) { }; }); } - //Ox.print('FIND RESULTS:', results); return results; } @@ -1501,7 +1500,6 @@ Ox.VideoPlayer = function(options, self) { } left += control == 'position' ? self.positionWidth : 16 }); - //Ox.print('TIMELINE_LEFT = ', left) return left; } diff --git a/source/Ox.UI/js/Window/Dialog.js b/source/Ox.UI/js/Window/Dialog.js index b619bb3c..51151d9b 100644 --- a/source/Ox.UI/js/Window/Dialog.js +++ b/source/Ox.UI/js/Window/Dialog.js @@ -590,7 +590,6 @@ Ox.Dialog = function(options, self) { self.options.height = css.height; self.minLeft = 24 - self.options.width; self.minTop = self.hasButtons ? 24 - self.options.height - self.barsHeight : 0; - // Ox.print('DIALOG set css RESIZE') triggerEvent && that.triggerEvent('resize', { width: self.options.width, height: self.options.height