Home
last modified time | relevance | path

Searched refs:js (Results 1 – 25 of 1927) sorted by relevance

12345678910>>...78

/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/sharedobjects/
H A DSharedObjectRegistry.kt24 internal fun add(native: SharedObject, js: JavaScriptObject): SharedObjectId { in <lambda>()
27 js.defineProperty(sharedObjectIdPropertyName, id.value) in <lambda>()
29 js.defineDeallocator { in <lambda>()
33 pairs[id] = native to js in <lambda>()
38 pairs.remove(id)?.let { (native, js) -> in <lambda>() method
40 if (js.isValid()) { in <lambda>()
41 js.defineProperty(sharedObjectIdPropertyName, 0) in <lambda>()
50 internal fun toNativeObject(js: JavaScriptObject): SharedObject? { in <lambda>()
51 if (!js.hasProperty(sharedObjectIdPropertyName)) { in <lambda>()
55 val id = SharedObjectId(js.getProperty(sharedObjectIdPropertyName).getInt()) in <lambda>()
/expo/docs/pages/router/advanced/
H A Dnesting-navigators.mdx19 'app/_layout.js',
20 'app/index.js',
21 'app/home/_layout.js',
22 'app/home/feed.js',
23 'app/home/messages.js',
29 ```jsx app/_layout.js
34 Both **app/home/_layout.js** and **app/index.js** below are nested in the **app/_layout.js** layout…
36 ```jsx app/home/_layout.js
41 ```jsx app/index.js
48 Both **app/home/feed.js** and **app/home/messages.js** below are nested in the **home/\_layout.js**…
[all …]
H A Dshared-routes.mdx13 …the example below, **app/\_layout.js** is the tab bar and each route has its own header. The **app…
17 'app/_layout.js',
18 'app/(home)/_layout.js',
19 'app/(home)/[user].js',
20 'app/(search)/_layout.js',
21 'app/(search)/[user].js',
22 'app/(profile)/_layout.js',
23 'app/(profile)/[user].js',
35 …. For example, `app/(home,search)/[user].js` &mdash; creates `app/(home)/[user].js` and `app/(sear…
39 ```jsx app/(home,search)/_layout.js
H A Drouter-settings.mdx17 <FileTree files={['app/_layout.js', 'app/index.js', 'app/other.js']} />
19 ```jsx app/_layout.js
36 ```js other.js
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/sharedobjects/
H A DSharedObjectRegistry.kt34 internal fun add(native: SharedObject, js: JavaScriptObject): SharedObjectId { in add()
37 js.defineProperty(sharedObjectIdPropertyName, id.value) in add()
39 js.defineDeallocator { in add()
43 pairs[id] = native to js in add()
48 pairs.remove(id)?.let { (native, js) -> in delete() method
50 if (js.isValid()) { in delete()
51 js.defineProperty(sharedObjectIdPropertyName, 0) in delete()
60 internal fun toNativeObject(js: JavaScriptObject): SharedObject? { in toNativeObject()
61 if (!js.hasProperty(sharedObjectIdPropertyName)) { in toNativeObject()
65 val id = SharedObjectId(js.getProperty(sharedObjectIdPropertyName).getInt()) in toNativeObject()
/expo/docs/pages/guides/
H A Dusing-nextjs.mdx2 title: Use Next.js with Expo for Web
3 sidebar_title: Use Next.js
43 ```js babel.config.js
54 ```js next.config.js
68 ```js babel.config.js
91 ```js next.config.js
107 ```js next.config.js
131 ```js pages/_document.js
191 ```js pages/_app.js
210 ```js next.config.js
[all …]
H A Dusing-eslint.mdx37 Create an ESLint config file called **.eslintrc.js** in the project root.
39 ```js .eslintrc.js
87js**, **metro.config.js**, **babel.config.js**, and **app/+html.tsx** files are run in a Node.js e…
89 …file is running in. For example, to tell ESLint that a file is run in Node.js, add the following c…
91 ```js metro.config.js
/expo/docs/
H A Dtailwind.config.cjs6 './pages/**/*.{js,ts,jsx,tsx}',
7 './components/**/*.{js,ts,jsx,tsx}',
8 './ui/foundations/**/*.{js,ts,jsx,tsx}',
9 './ui/components/**/*.{js,ts,jsx,tsx}',
10 './node_modules/@expo/styleguide/dist/**/*.{js,ts,jsx,tsx}',
/expo/docs/pages/routing/
H A Dcreate-pages.mdx13 - **app/index.js** matches `/`
14 - **app/home.js** matches `/home`
15 - **app/settings/index.js** matches `/settings`
16 - **app/[user].js** matches dynamic paths like `/expo` or `/evanbacon`
22 For example, create the **app** directory in your project and then create a file **index.js** insid…
30 ```js app/index.js
44 ```js app/index.js
64 | **app/blog/[slug].js** | `/blog/123` |
65 | **app/blog/[...rest].js** | `/blog/123/settings` |
67 …e a dynamic route. For example, `/blog/bacon` will match **blog/bacon.js** before **blog/[id].js**.
[all …]
H A Dlayouts.mdx17 ```js app/home/_layout.js
27 ```js app/home/_layout.js
43 <FileTree files={['app/_layout.js', 'app/home/_layout.js', 'app/home/index.js']} />
45 ```js app/_layout.js
53 ```js app/home/_layout.js
68 - **app/(root)/home.js** matches `/home`
76 'app/(app)/index.js',
77 'app/(app)/user.js',
78 'app/(aux)/terms-of-service.js',
79 'app/(aux)/privacy-policy.js',
[all …]
/expo/packages/@expo/config/src/paths/__tests__/__snapshots__/
H A Dextensions-test.ts.snap8 "ios.js",
13 "native.js",
18 "js",
29 "web.js",
34 "js",
/expo/apps/native-component-list/
H A D.eslintignore1 /.eslintrc.js
3 /babel.config.js
4 /metro.config.js
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/
H A Drun-android-local-integration-tests.sh20js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js
28 node ./scripts/run-android-ci-instrumentation-tests.js --path ./ReactAndroid/src/androidTest/java/c…
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/
H A Drun-android-local-integration-tests.sh20js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js
28 node ./scripts/run-android-ci-instrumentation-tests.js --path ./ReactAndroid/src/androidTest/java/c…
/expo/home/
H A D.eslintignore1 /.eslintrc.js
3 /babel.config.js
4 /metro.config.js
/expo/packages/@expo/metro-config/build/
H A DcustomizeFrame.js.map1js","names":["_url","data","require","INTERNAL_CALLSITES_REGEX","RegExp","join","exports","isUrl",…
/expo/packages/expo-processing/
H A DREADME.md7 Use [Processing.js](http://processingjs.org) on [Expo](https://expo.dev)! Just
8 `npm i -S processing-js expo-processing` in your Expo project and import it with
15 Display a `Processing.js` sketch.
21 - `sketch`: A Processing.js sketch function that takes a `processing` instance
22 …and calls Processing.js functions on it, such as the [`sketchProc` function](http://processingjs.o…
23 the Processing.js documentation for writing JavaScript-only Processing.js
35 run `npm i -S processing-js expo-processing` to install Processing.js and ExpoProcessing. Then repl…
36 `App.js` with the following:
38 ```js
/expo/docs/public/static/diffs/
H A De2e-tests-homescreen.diff1 diff --git a/e2e/homeScreen.e2e.js b/e2e/homeScreen.e2e.js
3 --- a/e2e/homeScreen.e2e.js
4 +++ b/e2e/homeScreen.e2e.js
/expo/apps/test-suite/functions/
H A D.gitignore2 **/*.js
3 **/*.js.map
12 # Node.js dependency directory
/expo/docs/pages/tutorial/
H A Dplatform-differences.mdx29 To use it, let's import it into **App.js**:
31 ```jsx App.js
44 Import the `Platform` module in **App.js**:
47 ```jsx App.js
67 'components/ImageViewer.js': 'tutorial/02-image-picker/ImageViewer.js',
68 'components/Button.js': 'tutorial/03-button-options/Button.js',
69 'components/CircleButton.js': 'tutorial/03-button-options/CircleButton.js',
70 'components/IconButton.js': 'tutorial/03-button-options/IconButton.js',
71 'components/EmojiPicker.js': 'tutorial/04-modal/EmojiPicker.js',
72 'components/EmojiList.js': 'tutorial/05-emoji-list/EmojiList.js',
[all …]
H A Dgestures.mdx38 ```jsx babel.config.js
64 ```jsx App.js
84 ```jsx EmojiSticker.js
90 ```jsx EmojiSticker.js
191 'components/Button.js': 'tutorial/03-button-options/Button.js',
194 'components/EmojiPicker.js': 'tutorial/04-modal/EmojiPicker.js',
195 'components/EmojiList.js': 'tutorial/05-emoji-list/EmojiList.js',
196 'components/EmojiSticker.js': 'tutorial/06-gestures/EmojiSticker.js',
337 'components/Button.js': 'tutorial/03-button-options/Button.js',
340 'components/EmojiPicker.js': 'tutorial/04-modal/EmojiPicker.js',
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Core/Devtools/__tests__/__snapshots__/
H A DparseHermesStack-test.js.snap20 "sourceUrl": "/js/foo.hbc",
39 "sourceUrl": "/js/foo.js",
73 "sourceUrl": "/js/foo.js",
101 "sourceUrl": "/js/foo.js",
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Core/Devtools/__tests__/__snapshots__/
H A DparseHermesStack-test.js.snap20 "sourceUrl": "/js/foo.hbc",
39 "sourceUrl": "/js/foo.js",
73 "sourceUrl": "/js/foo.js",
101 "sourceUrl": "/js/foo.js",
/expo/docs/pages/develop/
H A Dunit-testing.mdx81 ```js App.test.js
114 'src/components/button.js',
115 'src/navigation/mainstack.js',
116 'src/screens/home.js',
124 <FileTree files={['src/components/button.js', 'src/components/__tests__/button.test.js']} />
132 'src/components/button.js',
134 'src/components/button.test.js',
146 ```js App.test.js
166 "**/*.{js,jsx}",
169 "!**/babel.config.js",
[all …]
/expo/docs/pages/config-plugins/
H A Dplugins-and-mods.mdx29 ```js my-plugin.js
52 ```js app.config.js
86 ```js my-plugin.js
95 ```js app.config.js
115 ```js app.config.js
139 ```js app.config.js
148 ```js app.config.js
171 ```js app.config.js
323 ```js my-config-plugin.js
365 ```js my-config-plugin.js
[all …]

12345678910>>...78