@@ -67,16 +67,16 @@ let Empty = React.createClass({
67
67
} ) ;
68
68
69
69
const AppsIndexPage = ( ) => (
70
- < AccountView section = 'Your Apps' >
71
- < AppsIndex />
72
- </ AccountView >
73
- ) ;
70
+ < AccountView section = 'Your Apps' >
71
+ < AppsIndex />
72
+ </ AccountView >
73
+ ) ;
74
74
75
75
const AccountSettingsPage = ( ) => (
76
- < AccountView section = 'Account Settings' >
77
- < AccountOverview />
78
- </ AccountView >
79
- ) ;
76
+ < AccountView section = 'Account Settings' >
77
+ < AccountOverview />
78
+ </ AccountView >
79
+ ) ;
80
80
81
81
const PARSE_DOT_COM_SERVER_INFO = {
82
82
features : {
@@ -137,32 +137,32 @@ class Dashboard extends React.Component {
137
137
{ } ,
138
138
{ useMasterKey : true }
139
139
) . then ( serverInfo => {
140
- app . serverInfo = serverInfo ;
141
- return app ;
142
- } , error => {
143
- if ( error . code === 100 ) {
144
- app . serverInfo = {
145
- error : 'unable to connect to server' ,
146
- enabledFeatures : { } ,
147
- parseServerVersion : "unknown"
148
- }
149
- return Parse . Promise . as ( app ) ;
150
- } else if ( error . code === 107 ) {
151
- app . serverInfo = {
152
- error : 'server version too low' ,
153
- enabledFeatures : { } ,
154
- parseServerVersion : "unknown"
155
- }
156
- return Parse . Promise . as ( app ) ;
157
- } else {
158
- app . serverInfo = {
159
- error : 'unknown error' ,
160
- enabledFeatures : { } ,
161
- parseServerVersion : "unknown"
162
- }
163
- return Parse . Promise . as ( app ) ;
140
+ app . serverInfo = serverInfo ;
141
+ return app ;
142
+ } , error => {
143
+ if ( error . code === 100 ) {
144
+ app . serverInfo = {
145
+ error : 'unable to connect to server' ,
146
+ enabledFeatures : { } ,
147
+ parseServerVersion : "unknown"
164
148
}
165
- } ) ;
149
+ return Parse . Promise . as ( app ) ;
150
+ } else if ( error . code === 107 ) {
151
+ app . serverInfo = {
152
+ error : 'server version too low' ,
153
+ enabledFeatures : { } ,
154
+ parseServerVersion : "unknown"
155
+ }
156
+ return Parse . Promise . as ( app ) ;
157
+ } else {
158
+ app . serverInfo = {
159
+ error : 'unknown error' ,
160
+ enabledFeatures : { } ,
161
+ parseServerVersion : "unknown"
162
+ }
163
+ return Parse . Promise . as ( app ) ;
164
+ }
165
+ } ) ;
166
166
}
167
167
} ) ;
168
168
return Parse . Promise . when ( appInfoPromises ) ;
0 commit comments