Export jquery via ts/reviewer

This commit is contained in:
Henrik Giesel 2021-07-12 16:49:32 +02:00
parent 68ac505d81
commit 5cbb582d0b
4 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,6 @@ class Previewer(QDialog):
def _setup_web_view(self) -> None: def _setup_web_view(self) -> None:
jsinc = [ jsinc = [
"js/vendor/jquery.min.js",
"js/mathjax.js", "js/mathjax.js",
"js/vendor/mathjax/tex-chtml.js", "js/vendor/mathjax/tex-chtml.js",
"js/vendor/protobuf.min.js", "js/vendor/protobuf.min.js",

View File

@ -331,7 +331,6 @@ class CardLayout(QDialog):
qconnect(pform.preview_settings.clicked, self.on_preview_settings) qconnect(pform.preview_settings.clicked, self.on_preview_settings)
jsinc = [ jsinc = [
"js/vendor/jquery.min.js",
"js/mathjax.js", "js/mathjax.js",
"js/vendor/mathjax/tex-chtml.js", "js/vendor/mathjax/tex-chtml.js",
"js/vendor/protobuf.min.js", "js/vendor/protobuf.min.js",

View File

@ -22,6 +22,7 @@ ts_library(
"//ts/lib", "//ts/lib",
"//ts/lib:backend_proto", "//ts/lib:backend_proto",
"@npm//css-browser-selector", "@npm//css-browser-selector",
"@npm//jquery",
], ],
) )

View File

@ -2,6 +2,7 @@
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import "css-browser-selector/css_browser_selector"; import "css-browser-selector/css_browser_selector";
import "jquery/dist/jquery";
import { bridgeCommand } from "lib/bridgecommand"; import { bridgeCommand } from "lib/bridgecommand";
export { mutateNextCardStates } from "./answering"; export { mutateNextCardStates } from "./answering";