Skip to content

Commit c02bb28

Browse files
slsumathiAlexander Vakrilov
authored andcommitted
Update http.ts (NativeScript#5551)
1 parent 4cadb3f commit c02bb28

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tns-core-modules/http/http.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ImageSource } from "../image-source";
22
import * as httpRequest from "./http-request";
3-
4-
global.moduleMerge(httpRequest, exports);
3+
export * from "./http-request";
54

65
export function getString(arg: any): Promise<string> {
76
return new Promise<string>((resolve, reject) => {
@@ -49,4 +48,4 @@ export function getFile(arg: any, destinationFilePath?: string): Promise<any> {
4948
}
5049
}, e => reject(e));
5150
});
52-
}
51+
}

0 commit comments

Comments
 (0)