Export jquery via ts/reviewer
This commit is contained in:
parent
68ac505d81
commit
5cbb582d0b
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user