Skip to content

Commit 67716fc

Browse files
committed
Fix scroller fn name
1 parent ef22600 commit 67716fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/editor/scroller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function generateContent(lines, start, end, minLength) {
2727
.join('\n');
2828
}
2929

30-
var Scroller = function() {
30+
function Scroller() {
3131
this.lines = [];
3232
this.minVisible = 30;
3333
this.startPosition = 0;
@@ -44,7 +44,7 @@ var Scroller = function() {
4444
leading: true,
4545
trailing: true
4646
});
47-
};
47+
}
4848

4949
Scroller.prototype.setLines = function(newLines) {
5050
var len = newLines.length;

0 commit comments

Comments
 (0)