double quotes

This commit is contained in:
Geoffrey Goh
2015-11-13 16:49:13 -08:00
parent 46ed57ee44
commit 13d6b36a32
2 changed files with 16 additions and 16 deletions

View File

@@ -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 (
<View style={{backgroundColor: 'white', padding: 40}}>
<View style={{backgroundColor: "white", padding: 40}}>
<Text>
{this.constructor.displayName + ': '}
{this.state.done ? 'Done' : 'Testing...'}
{this.constructor.displayName + ": "}
{this.state.done ? "Done" : "Testing..."}
</Text>
{progressView}
</View>
@@ -96,6 +96,6 @@ var DownloadProgressTest = React.createClass({
}
});
DownloadProgressTest.displayName = 'DownloadProgressTest';
DownloadProgressTest.displayName = "DownloadProgressTest";
module.exports = DownloadProgressTest;

View File

@@ -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);
AppRegistry.registerComponent("DownloadProgressTestApp", () => DownloadProgressTestApp);