fix iteration over breakpoints
This commit is contained in:
parent
ce6bfe2f65
commit
dac8bdea76
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ var Document = function(text, mode) {
|
|||
|
||||
this.setBreakpoints = function(rows) {
|
||||
this.$breakpoints = [];
|
||||
for (var i=0; i<rows; i++) {
|
||||
for (var i=0; i<rows.length; i++) {
|
||||
this.$breakpoints[rows[i]] = true;
|
||||
}
|
||||
this.$dispatchEvent("changeBreakpoint", {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue