This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Examples/CodePushDemoApp/CodePushDemoAppTests/DownloadProgressTests Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
- ' use strict' ;
1
+ " use strict" ;
2
2
3
- var RCTTestModule = require ( ' NativeModules' ) . TestModule ;
4
- var React = require ( ' react-native' ) ;
5
- var CodePushSdk = require ( ' react-native-code-push' ) ;
6
- var NativeBridge = require ( ' react-native' ) . NativeModules . CodePush ;
3
+ var RCTTestModule = require ( " NativeModules" ) . TestModule ;
4
+ var React = require ( " react-native" ) ;
5
+ var CodePushSdk = require ( " react-native-code-push" ) ;
6
+ var NativeBridge = require ( " react-native" ) . NativeModules . CodePush ;
7
7
var { NativeAppEventEmitter } = require ( "react-native" ) ;
8
8
9
9
var {
@@ -85,17 +85,17 @@ var DownloadProgressTest = React.createClass({
85
85
}
86
86
87
87
return (
88
- < View style = { { backgroundColor : ' white' , padding : 40 } } >
88
+ < View style = { { backgroundColor : " white" , padding : 40 } } >
89
89
< Text >
90
- { this . constructor . displayName + ': ' }
91
- { this . state . done ? ' Done' : ' Testing...' }
90
+ { this . constructor . displayName + ": " }
91
+ { this . state . done ? " Done" : " Testing..." }
92
92
</ Text >
93
93
{ progressView }
94
94
</ View >
95
95
) ;
96
96
}
97
97
} ) ;
98
98
99
- DownloadProgressTest . displayName = ' DownloadProgressTest' ;
99
+ DownloadProgressTest . displayName = " DownloadProgressTest" ;
100
100
101
101
module . exports = DownloadProgressTest ;
Original file line number Diff line number Diff line change 1
- ' use strict' ;
1
+ " use strict" ;
2
2
3
- var React = require ( ' react-native' ) ;
3
+ var React = require ( " react-native" ) ;
4
4
5
5
var {
6
6
AppRegistry,
12
12
} = React ;
13
13
14
14
var TESTS = [
15
- require ( ' ./DownloadProgressTest' )
15
+ require ( " ./DownloadProgressTest" )
16
16
] ;
17
17
18
18
TESTS . forEach (
@@ -60,20 +60,20 @@ var DownloadProgressTestApp = React.createClass({
60
60
61
61
var styles = StyleSheet . create ( {
62
62
container : {
63
- backgroundColor : ' white' ,
63
+ backgroundColor : " white" ,
64
64
marginTop : 40 ,
65
65
margin : 15 ,
66
66
} ,
67
67
row : {
68
68
padding : 10 ,
69
69
} ,
70
70
testName : {
71
- fontWeight : ' 500' ,
71
+ fontWeight : " 500" ,
72
72
} ,
73
73
separator : {
74
74
height : 1 ,
75
- backgroundColor : ' #bbbbbb' ,
75
+ backgroundColor : " #bbbbbb" ,
76
76
}
77
77
} ) ;
78
78
79
- AppRegistry . registerComponent ( ' DownloadProgressTestApp' , ( ) => DownloadProgressTestApp ) ;
79
+ AppRegistry . registerComponent ( " DownloadProgressTestApp" , ( ) => DownloadProgressTestApp ) ;
You can’t perform that action at this time.
0 commit comments