mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 15:49:36 +08:00
double quotes
This commit is contained in:
@@ -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;
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user