1
0
Fork 0
forked from 0x2620/oxjs

remove print statements

This commit is contained in:
rolux 2012-06-15 11:47:18 +02:00
commit fbeb434e27
11 changed files with 0 additions and 24 deletions

View file

@ -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) {