use scroller instead of content

because other widgets inheriting from ace do not have renderer.content
This commit is contained in:
nightwing 2013-10-27 14:33:55 +04:00
commit 07e4eb0a3a
2 changed files with 5 additions and 4 deletions

View file

@ -33,6 +33,7 @@ define(function(require, exports, module) {
var MockRenderer = exports.MockRenderer = function(visibleRowCount) {
this.container = document.createElement("div");
this.scroller = document.createElement("div");
this.visibleRowCount = visibleRowCount || 20;
this.layerConfig = {