Lines Matching +full:before +full:- +full:script
39 * `foo_js` JavaScript bindings; used as compile-time dependency.
40 * `foo_js_data_deps` JavaScript bindings; used as run-time dependency.
44 ninja -C out/r services/echo/public/interfaces:interfaces_js
54 files in your html page using `<script>` tags:
56 __Note: This file must be included before any `.mojom.js` files.__
61 <script src="URL/to/mojo_bindings.js"></script>
62 <script src="URL/to/echo.mojom.js"></script>
63 <script>
69 </script>
81 handle and dispatches incoming messages to a user-defined interface
89 <script src="URL/to/mojo_bindings.js"></script>
90 <script src="URL/to/echo.mojom.js"></script>
91 <script>
107 </script>
152 * Mojo system-level causes: process terminated, resource exhausted, etc.
180 disconnection), `echoServiceBinding` will receive the `echoInteger` call before
187 Similar to the non-associated interface case, we have:
195 the connection and dispatches incoming messages to a user-defined interface
198 See [this document](https://www.chromium.org/developers/design-documents/mojo/associated-interfaces)
204 insert a `<script>` tag to load `bar.mojom.js`, if it hasn't been loaded.
227 set `mojo.config.autoLoadMojomDeps` to `false` before loading `foo.mojom.js`,
232 <!-- Automatic dependency loading -->
233 <script src="http://example.org/scripts/mojo_bindings.js"></script>
234 <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
237 <!-- Manual dependency loading -->
238 <script src="http://example.org/scripts/mojo_bindings.js"></script>
239 <script>
241 </script>
242 <script src="http://example.org/scripts/b/d/bar.mojom.js"></script>
243 <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
253 <!-- Assume that mojo.config.autoLoadMojomDeps is set to true: -->
255 <!-- No duplicate loading; recommended. -->
256 <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
258 <!-- No duplicate loading, although unnecessary. -->
259 <script src="http://example.org/scripts/b/d/bar.mojom.js"></script>
260 <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
262 <!-- Load bar.mojom.js twice; should be avoided. -->
263 <!-- when foo.mojom.js is loaded, it sees that bar.mojom.js is not yet loaded,
264 so it inserts another <script> tag for bar.mojom.js. -->
265 <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
266 <script src="http://example.org/scripts/b/d/bar.mojom.js"></script>
278 |----------------------|------------------------|