project_note
Clone
https://git.tahinli.com/Tahinli/project_note.git
0 watching0 forksRust3.6 MiBc49f5e7Tahinli1 month ago2 commits
| 1 | //! The editor bundle's content-hashed file names, read from `assets/editor.manifest`. |
| 2 | //! |
| 3 | //! The build tool writes `editor-<16 hex>.js` and `editor-<16 hex>.wasm` into `assets/` |
| 4 | //! and a manifest with two lines, `js=<name>` and `wasm=<name>`. |
| 5 | |
| 6 | /// The names of the current editor files, as served at the site root. |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | /// The manifest, relative to the working directory like `public_dir`. |
| 14 | const MANIFEST: &str = "assets/editor.manifest"; |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | /// The content type for a content-hashed editor file name (`editor-<16 hex>.js` or |
| 48 | /// `editor-<16 hex>.wasm`), or `None` for any other name. |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 |