Merge pull request #130 from Microsoft/revert-to-module-exports

Revert to module.exports
This commit is contained in:
Geoffrey Goh
2015-12-26 00:03:03 -08:00
3 changed files with 3 additions and 3 deletions

View File

@@ -295,4 +295,4 @@ const CodePush = {
}
};
export default CodePush;
module.exports = CodePush;

View File

@@ -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) {

View File

@@ -1,6 +1,6 @@
"use strict";
export default {
module.exports = {
async request(verb, url, body, callback) {
if (typeof body === "function") {
callback = body;