mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Renamed image module to image-source. Extended the testRunner to accept module name to run.
This commit is contained in:
@ -25,7 +25,7 @@ export function request(options: http.HttpRequestOptions): promises.Promise<http
|
||||
raw: data,
|
||||
toString: () => { return null },
|
||||
toJSON: () => { return null },
|
||||
toImage: () => { return require("image").fromNativeBitmap(data); }
|
||||
toImage: () => { return require("image-source").fromNativeSource(data); }
|
||||
},
|
||||
statusCode: 0,
|
||||
headers: {}
|
||||
|
Reference in New Issue
Block a user