Skip to content

Commit aca2494

Browse files
committed
Prepare bs-react-native-jsx3-compat fixup
1 parent b381017 commit aca2494

71 files changed

Lines changed: 238 additions & 239 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎bs-react-native-jsx3-compat/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
},
2020
"devDependencies": {
2121
"bs-platform": "^5.0.1",
22-
"reason-react": "^0.7.0",
23-
"upgrade-reason-react": "https://github.com/chenglou/upgrade-reason-react.git#0.6.0-to-0.7.0"
22+
"reason-react": "^0.7.0"
2423
},
2524
"peerDependencies": {
2625
"react-native": "^0.53.3",

‎bs-react-native-jsx3-compat/src/Internals.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ var Encoder = /* module */[
4141

4242
export {
4343
Encoder ,
44-
44+
4545
}
4646
/* No side effect */

‎bs-react-native-jsx3-compat/src/RNEvent.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ export {
129129
nativeEvent ,
130130
nativeLayoutEvent ,
131131
nativeScrollEvent ,
132-
132+
133133
}
134134
/* No side effect */

‎bs-react-native-jsx3-compat/src/actionSheetIOS.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ function showShareActionSheetWithOptions(options, subject, excludedActivityTypes
5151
export {
5252
showActionSheetWithOptions ,
5353
showShareActionSheetWithOptions ,
54-
54+
5555
}
5656
/* react-native Not a pure module */

‎bs-react-native-jsx3-compat/src/alert.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ function alert(title, message, buttons, options, type_, param) {
5252

5353
export {
5454
alert ,
55-
55+
5656
}
5757
/* react-native Not a pure module */

‎bs-react-native-jsx3-compat/src/alertIOS.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ function prompt(title, message, buttons, type_, defaultValue, keyboardType, para
124124
export {
125125
alert ,
126126
prompt ,
127-
127+
128128
}
129129
/* react-native Not a pure module */

‎bs-react-native-jsx3-compat/src/animated.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ export {
6969
View ,
7070
ScrollView ,
7171
FlatList ,
72-
72+
7373
}
7474
/* AnimatedRe-BsReactNative Not a pure module */

‎bs-react-native-jsx3-compat/src/animatedRe.bs.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ function start(t, callback, param) {
1313

1414
function extrapolateString(param) {
1515
switch (param) {
16-
case 0 :
16+
case 0 :
1717
return "extend";
18-
case 1 :
18+
case 1 :
1919
return "clamp";
20-
case 2 :
20+
case 2 :
2121
return "identity";
22-
22+
2323
}
2424
}
2525

@@ -533,6 +533,6 @@ export {
533533
stop ,
534534
start ,
535535
reset ,
536-
536+
537537
}
538538
/* react-native Not a pure module */

‎bs-react-native-jsx3-compat/src/appRegistry.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ function registerComponent(name, comp) {
99

1010
export {
1111
registerComponent ,
12-
12+
1313
}
1414
/* react-native Not a pure module */

‎bs-react-native-jsx3-compat/src/appState.bs.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import * as ReactNative from "react-native";
55
function currentState(param) {
66
var currState = ReactNative.AppState.currentState;
77
switch (currState) {
8-
case "active" :
8+
case "active" :
99
return /* Active */0;
10-
case "background" :
10+
case "background" :
1111
return /* Background */1;
1212
default:
1313
return /* Inactive */2;
@@ -16,6 +16,6 @@ function currentState(param) {
1616

1717
export {
1818
currentState ,
19-
19+
2020
}
2121
/* react-native Not a pure module */

0 commit comments

Comments
 (0)