From 03e91b3ff9a0274ed79ca861894b905523388925 Mon Sep 17 00:00:00 2001 From: Geoffrey Goh Date: Fri, 25 Dec 2015 23:36:04 -0800 Subject: [PATCH] revert to module.exporst --- CodePush.js | 2 +- package-mixins.js | 2 +- request-fetch-adapter.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CodePush.js b/CodePush.js index 384cc59..4a8cf9c 100644 --- a/CodePush.js +++ b/CodePush.js @@ -295,4 +295,4 @@ const CodePush = { } }; -export default CodePush; \ No newline at end of file +module.exports = CodePush; \ No newline at end of file diff --git a/package-mixins.js b/package-mixins.js index 6cd8eb5..f85e367 100644 --- a/package-mixins.js +++ b/package-mixins.js @@ -5,7 +5,7 @@ import { DeviceEventEmitter } from "react-native"; // This function is used to augment remote and local // package objects with additional functionality/properties // beyond what is included in the metadata sent by the server. -export default (NativeCodePush) => { +module.exports = (NativeCodePush) => { const remote = { async download(downloadProgressCallback) { if (!this.downloadUrl) { diff --git a/request-fetch-adapter.js b/request-fetch-adapter.js index 1ccd3df..d2cad43 100644 --- a/request-fetch-adapter.js +++ b/request-fetch-adapter.js @@ -1,6 +1,6 @@ "use strict"; -export default { +module.exports = { async request(verb, url, body, callback) { if (typeof body === "function") { callback = body;