Steven Silvester před 6 roky
rodič
revize
d90830ba19
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/inspector/src/handler.ts

+ 1 - 1
packages/inspector/src/handler.ts

@@ -25,7 +25,7 @@ export class InspectionHandler implements IDisposable, IInspector.IInspectable {
   constructor(options: InspectionHandler.IOptions) {
     this._connector = options.connector;
     this._rendermime = options.rendermime;
-    this._debouncer = new Debouncer(() => this.onEditorChange, 250);
+    this._debouncer = new Debouncer(this.onEditorChange.bind(this), 250);
   }
 
   /**