| branch | popcorn-port |
| changeset 95 | da3ab0bfadf3 |
| parent 93 | 8c066a79a14f |
| child 98 | ed4ac18baf07 |
--- 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) }); } };