mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Merge branch 'master' into niliev/xhr
This commit is contained in:
@ -14,6 +14,7 @@ const modulesLoadedForUI = new Set<string>();
|
|||||||
const defaultExtensionMap: ExtensionMap = {
|
const defaultExtensionMap: ExtensionMap = {
|
||||||
".js": ".js",
|
".js": ".js",
|
||||||
".ts": ".js",
|
".ts": ".js",
|
||||||
|
".kt": ".js",
|
||||||
".css": ".css",
|
".css": ".css",
|
||||||
".scss": ".css",
|
".scss": ".css",
|
||||||
".less": ".css",
|
".less": ".css",
|
||||||
|
@ -22,7 +22,7 @@ export class ControlStateChangeListener implements ControlStateChangeListenerDef
|
|||||||
private _callback: (state: string) => void;
|
private _callback: (state: string) => void;
|
||||||
|
|
||||||
constructor(control: UIControl, 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._observer["_owner"] = this;
|
||||||
this._control = control;
|
this._control = control;
|
||||||
this._callback = callback;
|
this._callback = callback;
|
||||||
|
Reference in New Issue
Block a user