Steven Silvester %!s(int64=6) %!d(string=hai) anos
pai
achega
d90830ba19
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
   }
 
   /**