mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Prettier the rest of ReactNative
Reviewed By: yungsters Differential Revision: D7974340 fbshipit-source-id: 5fe457a8a9be4bd360fc3af9acb5c1136b2be0d7
This commit is contained in:
committed by
Facebook Github Bot
parent
aba4ec0c09
commit
36fcbaa56d
@@ -4,6 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -49,9 +50,9 @@ var TestJSToJavaParametersModule = {
|
||||
},
|
||||
returnMapWithArrays: function() {
|
||||
Recording.receiveMap({
|
||||
'empty': [],
|
||||
'ints': [43, 44],
|
||||
'mixed': [77, 'string', ['another', 'array']],
|
||||
empty: [],
|
||||
ints: [43, 44],
|
||||
mixed: [77, 'string', ['another', 'array']],
|
||||
});
|
||||
},
|
||||
returnArrayWithStringDoubleIntMapArrayBooleanNull: function() {
|
||||
@@ -65,7 +66,7 @@ var TestJSToJavaParametersModule = {
|
||||
int: -55,
|
||||
array: [],
|
||||
boolean: true,
|
||||
null: null
|
||||
null: null,
|
||||
});
|
||||
},
|
||||
returnArrayWithLargeInts: function() {
|
||||
@@ -80,7 +81,7 @@ var TestJSToJavaParametersModule = {
|
||||
b: 41,
|
||||
c: 'string',
|
||||
d: 'other string',
|
||||
e: [1,'foo','bar'],
|
||||
e: [1, 'foo', 'bar'],
|
||||
f: null,
|
||||
});
|
||||
},
|
||||
@@ -99,7 +100,8 @@ var TestJSToJavaParametersModule = {
|
||||
'two-bytes': '\u00A2',
|
||||
'three-bytes': '\u20AC',
|
||||
'four-bytes': '\uD83D\uDE1C',
|
||||
'mixed': '\u017C\u00F3\u0142\u0107 g\u0119\u015Bl\u0105 \u6211 \uD83D\uDE0E ja\u017A\u0107'
|
||||
mixed:
|
||||
'\u017C\u00F3\u0142\u0107 g\u0119\u015Bl\u0105 \u6211 \uD83D\uDE0E ja\u017A\u0107',
|
||||
});
|
||||
},
|
||||
returnArrayWithMultibyteUTF8CharacterString: function() {
|
||||
@@ -108,14 +110,14 @@ var TestJSToJavaParametersModule = {
|
||||
'\u00A2',
|
||||
'\u20AC',
|
||||
'\uD83D\uDE1C',
|
||||
'\u017C\u00F3\u0142\u0107 g\u0119\u015Bl\u0105 \u6211 \uD83D\uDE0E ja\u017A\u0107'
|
||||
'\u017C\u00F3\u0142\u0107 g\u0119\u015Bl\u0105 \u6211 \uD83D\uDE0E ja\u017A\u0107',
|
||||
]);
|
||||
},
|
||||
};
|
||||
|
||||
BatchedBridge.registerCallableModule(
|
||||
'TestJSToJavaParametersModule',
|
||||
TestJSToJavaParametersModule
|
||||
TestJSToJavaParametersModule,
|
||||
);
|
||||
|
||||
module.exports = TestJSToJavaParametersModule;
|
||||
|
||||
Reference in New Issue
Block a user