mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 14:27:10 +00:00
fix circleCI errors
This commit is contained in:
1 parent
8b13528661
commit
f0608441fc
2 files changed
+3
-3
No files matched your search
@@ -116,8 +116,8 @@ const Editor = createClass({
|
||||
|
||||
// get top and bottom line numbers currently in editor viewport
|
||||
const viewportRect = codeMirror.getWrapperElement().getBoundingClientRect();
|
||||
const topVisibleLine = codeMirror.lineAtHeight(viewportRect.top, "window");
|
||||
const bottomVisibleLine = codeMirror.lineAtHeight(viewportRect.bottom, "window");
|
||||
const topVisibleLine = codeMirror.lineAtHeight(viewportRect.top, 'window');
|
||||
const bottomVisibleLine = codeMirror.lineAtHeight(viewportRect.bottom, 'window');
|
||||
|
||||
_.forEach(this.props.brew.text.split('\n'), (line, lineNumber)=>{
|
||||
if(this.props.renderer == 'legacy') {
|
||||
|
||||
Reference in new issue
Block a user