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