add python file to the demo

This commit is contained in:
Fabian Jakobs 2010-12-10 17:26:14 +01:00
commit 5224b0cf97
2 changed files with 23 additions and 20 deletions

View file

@ -62,7 +62,7 @@ var ScrollBar = function(parent) {
oop.implement(this, EventEmitter);
this.onScroll = function() {
this.$dispatchEvent("scroll", {data: this.element.scrollTop});
this._dispatchEvent("scroll", {data: this.element.scrollTop});
};
this.getWidth = function() {