Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Commit 9785ebd

Browse files
ddunkinsamtstern
authored andcommitted
Support Monaco 0.14 (#311)
1 parent 9e70ccd commit 9785ebd

File tree

3 files changed

+1028
-1028
lines changed

3 files changed

+1028
-1028
lines changed

lib/monaco-adapter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ firepad.MonacoAdapter = (function() {
1111

1212
this.grabDocumentState();
1313
var changeHandler = this.monaco.onDidChangeModelContent(this.onChange);
14-
var didBlurHandler = this.monaco.onDidBlurEditor(this.onBlur);
15-
var didFocusHandler = this.monaco.onDidFocusEditor(this.onFocus);
14+
var didBlurHandler = this.monaco.onDidBlurEditorWidget(this.onBlur);
15+
var didFocusHandler = this.monaco.onDidFocusEditorWidget(this.onFocus);
1616
var didChangeCursorPositionHandler = this.monaco.onDidChangeCursorPosition(this.onCursorActivity);
1717

1818
this.detach = function() {

0 commit comments

Comments
 (0)