Lines Matching +full:source +full:- +full:map +full:- +full:js
2 // Use of this source code is governed by a BSD-style license that can be
24 // true means that loading foo.mojom.js will insert a <script> tag to load
25 // bar.mojom.js, if it hasn't been loaded.
27 // The URL of bar.mojom.js is determined by the relative path of bar.mojom
29 // foo.mojom.js. For exmple, if at build time the two mojom files are
33 // and the URL of foo.mojom.js is:
34 // http://example.org/scripts/b/c/foo.mojom.js
35 // then the URL of bar.mojom.js will be:
36 // http://example.org/scripts/b/d/bar.mojom.js
38 // If you would like bar.mojom.js to live at a different location, you need
39 // to turn off |autoLoadMojomDeps| before loading foo.mojom.js, and manually
40 // load bar.mojom.js yourself. Similarly, you need to turn off the option if
41 // you merge bar.mojom.js and foo.mojom.js into a single file.
43 // Performance tip: Avoid loading the same mojom.js file multiple times.
46 // <!--
51 // <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
54 // <script src="http://example.org/scripts/b/d/bar.mojom.js"></script>
55 // <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
57 // Load bar.mojom.js twice; should be avoided:
58 // <script src="http://example.org/scripts/b/c/foo.mojom.js"></script>
59 // <script src="http://example.org/scripts/b/d/bar.mojom.js"></script>
61 // -->
74 var mojomRegistry = new Map();