fix tests

This commit is contained in:
Fabian Jakobs 2011-12-20 15:16:09 +01:00
commit d0cfaca836

View file

@ -101,6 +101,9 @@ MockRenderer.prototype.on = function() {
MockRenderer.prototype.updateCursor = function() {
};
MockRenderer.prototype.scrollToX = function(scrollTop) {};
MockRenderer.prototype.scrollToY = function(scrollLeft) {};
MockRenderer.prototype.scrollToLine = function(line, center) {
var lineHeight = { lineHeight: 16 };
var row = 0;