gecko-dev/devtools/client/whats-new/index.html

32 строки
986 B
HTML

<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html>
<html dir="">
<head>
<link rel="stylesheet" href="resource://devtools/client/whats-new/src/whats-new.css"/>
<script src="chrome://devtools/content/shared/theme-switching.js"></script>
</head>
<body>
<script>
"use strict";
try {
const { BrowserLoader } = ChromeUtils.import(
"resource://devtools/client/shared/browser-loader.js"
);
const { require } = BrowserLoader({
baseURI: "resource://devtools/client/whats-new",
window
});
window.WhatsNew = require("devtools/client/whats-new/src/main");
} catch (e) {
dump("Exception happened while loading the whats new panel:\n");
dump(e + "\n");
dump(e.stack + "\n");
}
</script>
<div id="root"></div>
</body>
</html>