fix tests

This commit is contained in:
nightwing 2012-04-26 12:26:01 +04:00
commit 62569d617d

View file

@ -107,8 +107,8 @@ MockRenderer.prototype.on = function() {
MockRenderer.prototype.updateCursor = function() { MockRenderer.prototype.updateCursor = function() {
}; };
MockRenderer.prototype.animateScrolling = function(scrollFunc, self) { MockRenderer.prototype.animateScrolling = function(fromValue, callback) {
scrollFunc.call(self); callback && callback();
}; };
MockRenderer.prototype.scrollToX = function(scrollTop) {}; MockRenderer.prototype.scrollToX = function(scrollTop) {};