From c02bb283a9766f84e2a549d57302eaf8cd704779 Mon Sep 17 00:00:00 2001 From: slsumathi Date: Mon, 19 Mar 2018 12:31:50 +0530 Subject: [PATCH] Update http.ts (#5551) --- tns-core-modules/http/http.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tns-core-modules/http/http.ts b/tns-core-modules/http/http.ts index e9f8d31eb..ba986cdba 100644 --- a/tns-core-modules/http/http.ts +++ b/tns-core-modules/http/http.ts @@ -1,7 +1,6 @@ import { ImageSource } from "../image-source"; import * as httpRequest from "./http-request"; - -global.moduleMerge(httpRequest, exports); +export * from "./http-request"; export function getString(arg: any): Promise { return new Promise((resolve, reject) => { @@ -49,4 +48,4 @@ export function getFile(arg: any, destinationFilePath?: string): Promise { } }, e => reject(e)); }); -} \ No newline at end of file +}