diff -r 457ab20a99a9 -r da3ab0bfadf3 src/js/widgets.js --- a/src/js/widgets.js Wed Oct 19 10:39:04 2011 +0200 +++ b/src/js/widgets.js Wed Oct 19 11:54:24 2011 +0200 @@ -200,7 +200,7 @@ var end = Math.round((+ annotation.end) / 1000); this._Popcorn = this._Popcorn.code({start: begin, end: end, - onStart: function() { console.log(begin, end); _this.displayAnnotation(annotation); }, - onEnd: function() { console.log("end", end); }}); + onStart: + function(annotation) { return function() { _this.displayAnnotation(annotation); } }(annotation) }); } };