Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,34 @@
|
||||
/* Metro module 1491; source: unknown; dependencies: [] */
|
||||
function _fun17001(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1618:6, offset: 0x00e61538, size: 85 bytes, params: 8, frame: 16
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.goBack = function() {
|
||||
return {type: 'GO_BACK'};
|
||||
};
|
||||
exports.navigate = navigate;
|
||||
exports.reset = function(a0) {
|
||||
return {type: 'RESET', payload: a0};
|
||||
};
|
||||
exports.setParams = function(a0) {
|
||||
return {type: 'SET_PARAMS', payload: {params: a0}};
|
||||
};
|
||||
}
|
||||
|
||||
function navigate() { // fn#17003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1618:154, offset: 0x00e6159b, size: 208 bytes, params: 1, frame: 15
|
||||
const value = undefined;
|
||||
if (typeof (arguments.length <= 0 ? value : arguments[0]) === 'string') {
|
||||
return {type: 'NAVIGATE', payload: {name: arguments.length <= 0 ? value : arguments[0],
|
||||
params: arguments.length <= 1 ? value : arguments[1]}};
|
||||
}
|
||||
let r1 = arguments.length <= 0 ? value : arguments[0];
|
||||
r1 = !r1 ? {} : r1;
|
||||
if (r1.hasOwnProperty('key')) {
|
||||
return {type: 'NAVIGATE', payload: r1};
|
||||
}
|
||||
if (r1.hasOwnProperty('name')) {
|
||||
return {type: 'NAVIGATE', payload: r1};
|
||||
}
|
||||
const Error = global.Error;
|
||||
throw new Error('You need to specify name or key when calling navigate with an object as the argument. See https://reactnavigation.org/docs/navigation-actions#navigate for usage.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user