This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
forked from speced/respec
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(w3c): make a jQuery-less profile (w3c) (speced#2249)
- Loading branch information
1 parent
73612c0
commit 3ed6dc6
Showing
21 changed files
with
200 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,6 @@ bevy.json | |
js/ | ||
!js/profile-w3c-common.js | ||
!js/profile-geonovum.js | ||
!js/profile-w3c.js | ||
!js/shortcut.js | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
"use strict"; | ||
// In case everything else fails, we want the error | ||
window.addEventListener("error", ev => { | ||
console.error(ev.error, ev.message, ev); | ||
}); | ||
|
||
// this is only set in a build, not at all in the dev environment | ||
require.config({ | ||
paths: { | ||
hyperhtml: "deps/hyperhtml", | ||
idb: "deps/idb", | ||
marked: "deps/marked", | ||
pluralize: "deps/pluralize", | ||
text: "deps/text", | ||
webidl2: "deps/webidl2", | ||
}, | ||
shim: { | ||
shortcut: { | ||
exports: "shortcut", | ||
}, | ||
idb: { | ||
exports: "idb", | ||
}, | ||
}, | ||
}); | ||
|
||
define([ | ||
// order is significant | ||
"./core/base-runner", | ||
"./core/ui", | ||
"./core/reindent", | ||
"./core/location-hash", | ||
"./core/l10n", | ||
"./w3c/defaults", | ||
"./core/style", | ||
"./w3c/style", | ||
"./w3c/l10n", | ||
"./core/github", | ||
"./core/data-include", | ||
"./core/markdown", | ||
"./w3c/headers", | ||
"./w3c/abstract", | ||
"./core/data-transform", | ||
"./core/data-abbr", | ||
"./core/inlines", | ||
"./w3c/conformance", | ||
"./core/dfn", | ||
"./core/pluralize", | ||
"./core/examples", | ||
"./core/issues-notes", | ||
"./core/requirements", | ||
"./core/best-practices", | ||
"./core/figures", | ||
"./core/webidl", | ||
"./core/data-cite", | ||
"./core/biblio", | ||
"./core/webidl-index", | ||
"./core/link-to-dfn", | ||
"./core/render-biblio", | ||
"./core/contrib", | ||
"./core/fix-headers", | ||
"./core/structure", | ||
"./core/informative", | ||
"./core/id-headers", | ||
"./core/caniuse", | ||
"./ui/save-html", | ||
"./ui/search-specref", | ||
"./ui/dfn-list", | ||
"./ui/about-respec", | ||
"./core/seo", | ||
"./w3c/seo", | ||
"./core/highlight", | ||
"./core/webidl-clipboard", | ||
"./core/data-tests", | ||
"./core/list-sorter", | ||
"./core/highlight-vars", | ||
"./core/algorithms", | ||
/* Linter must be the last thing to run */ | ||
"./core/linter", | ||
], (runner, { ui }, ...plugins) => { | ||
ui.show(); | ||
const loadPromise = new Promise(r => { | ||
if (document.readyState !== "loading") { | ||
r(); | ||
return; | ||
} | ||
document.addEventListener("DOMContentLoaded", r) | ||
}); | ||
loadPromise.then(async () => { | ||
try { | ||
await runner.runAll(plugins); | ||
} catch (err) { | ||
console.error(err); | ||
} finally { | ||
ui.enable(); | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.