do not store copy of breakpoints array in gutter

This commit is contained in:
nightwing 2012-05-19 20:38:09 +04:00
commit 31729a963a
4 changed files with 7 additions and 12 deletions

View file

@ -889,13 +889,11 @@ var VirtualRenderer = function(container, theme) {
};
/**
* VirtualRenderer.setBreakpoints(rows) -> Void
* - rows (Array): An array containg row numbers
* VirtualRenderer.updateBreakpoints() -> Void
*
* Sets a breakpoint for every row number indicated on `rows`.
* Redraw breakpoints.
**/
this.setBreakpoints = function(rows) {
this.$gutterLayer.setBreakpoints(rows);
this.updateBreakpoints = function(rows) {
this.$loop.schedule(this.CHANGE_GUTTER);
};