Merge branch 'master' into niliev/xhr

This commit is contained in:
Dimitar Topuzov
2020-02-24 14:35:40 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ const modulesLoadedForUI = new Set<string>();
const defaultExtensionMap: ExtensionMap = {
".js": ".js",
".ts": ".js",
".kt": ".js",
".css": ".css",
".scss": ".css",
".less": ".css",

View File

@ -22,7 +22,7 @@ export class ControlStateChangeListener implements ControlStateChangeListenerDef
private _callback: (state: string) => void;
constructor(control: UIControl, callback: (state: string) => void) {
this._observer = ObserverClass.alloc();
this._observer = ObserverClass.alloc().init();
this._observer["_owner"] = this;
this._control = control;
this._callback = callback;