diff --git a/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTest.js b/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTest.js index f61a941..c61b4ef 100644 --- a/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTest.js +++ b/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTest.js @@ -1,9 +1,9 @@ -'use strict'; +"use strict"; -var RCTTestModule = require('NativeModules').TestModule; -var React = require('react-native'); -var CodePushSdk = require('react-native-code-push'); -var NativeBridge = require('react-native').NativeModules.CodePush; +var RCTTestModule = require("NativeModules").TestModule; +var React = require("react-native"); +var CodePushSdk = require("react-native-code-push"); +var NativeBridge = require("react-native").NativeModules.CodePush; var { NativeAppEventEmitter } = require("react-native"); var { @@ -85,10 +85,10 @@ var DownloadProgressTest = React.createClass({ } return ( - + - {this.constructor.displayName + ': '} - {this.state.done ? 'Done' : 'Testing...'} + {this.constructor.displayName + ": "} + {this.state.done ? "Done" : "Testing..."} {progressView} @@ -96,6 +96,6 @@ var DownloadProgressTest = React.createClass({ } }); -DownloadProgressTest.displayName = 'DownloadProgressTest'; +DownloadProgressTest.displayName = "DownloadProgressTest"; module.exports = DownloadProgressTest; \ No newline at end of file diff --git a/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTestApp.ios.js b/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTestApp.ios.js index 9526b34..c157ee7 100644 --- a/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTestApp.ios.js +++ b/Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests/DownloadProgressTestApp.ios.js @@ -1,6 +1,6 @@ -'use strict'; +"use strict"; -var React = require('react-native'); +var React = require("react-native"); var { AppRegistry, @@ -12,7 +12,7 @@ var { } = React; var TESTS = [ - require('./DownloadProgressTest') + require("./DownloadProgressTest") ]; TESTS.forEach( @@ -60,7 +60,7 @@ var DownloadProgressTestApp = React.createClass({ var styles = StyleSheet.create({ container: { - backgroundColor: 'white', + backgroundColor: "white", marginTop: 40, margin: 15, }, @@ -68,12 +68,12 @@ var styles = StyleSheet.create({ padding: 10, }, testName: { - fontWeight: '500', + fontWeight: "500", }, separator: { height: 1, - backgroundColor: '#bbbbbb', + backgroundColor: "#bbbbbb", } }); -AppRegistry.registerComponent('DownloadProgressTestApp', () => DownloadProgressTestApp); \ No newline at end of file +AppRegistry.registerComponent("DownloadProgressTestApp", () => DownloadProgressTestApp); \ No newline at end of file