Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit b8f8bbd

Browse files
committed
clean up formatting
1 parent beacdff commit b8f8bbd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

index.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var RNCookieManagerAndroid = NativeModules.RNCookieManagerAndroid;
77

88
var CookieManager;
99
if (Platform.OS === 'ios') {
10-
invariant(RNCookieManagerIOS,
10+
invariant(RNCookieManagerIOS,
1111
'Add RNCookieMangerIOS.h and RNCookieManagerIOS.m to your Xcode project');
1212
CookieManager = RNCookieManagerIOS;
1313
} else if (Platform.OS === 'android') {
@@ -17,14 +17,15 @@ if (Platform.OS === 'ios') {
1717
invariant(CookieManager, "Invalid platform");
1818
}
1919

20-
functions = [
20+
var functions = [
2121
'set',
2222
'setFromResponse',
2323
'get',
2424
'getAll',
2525
'clearAll'
26-
]
26+
];
27+
2728
module.exports = {}
28-
for(var i=0; i < functions.length; i++) {
29+
for (var i=0; i < functions.length; i++) {
2930
module.exports[functions[i]] = CookieManager[functions[i]];
30-
}
31+
}

0 commit comments

Comments
 (0)