Include css-browser-selector via ts/reviewer
This commit is contained in:
parent
f203562c58
commit
68ac505d81
@ -126,7 +126,6 @@ class Previewer(QDialog):
|
||||
def _setup_web_view(self) -> None:
|
||||
jsinc = [
|
||||
"js/vendor/jquery.min.js",
|
||||
"js/vendor/css_browser_selector.min.js",
|
||||
"js/mathjax.js",
|
||||
"js/vendor/mathjax/tex-chtml.js",
|
||||
"js/vendor/protobuf.min.js",
|
||||
|
@ -332,7 +332,6 @@ class CardLayout(QDialog):
|
||||
|
||||
jsinc = [
|
||||
"js/vendor/jquery.min.js",
|
||||
"js/vendor/css_browser_selector.min.js",
|
||||
"js/mathjax.js",
|
||||
"js/vendor/mathjax/tex-chtml.js",
|
||||
"js/vendor/protobuf.min.js",
|
||||
|
@ -16,9 +16,13 @@ compile_sass(
|
||||
|
||||
|
||||
ts_library(
|
||||
name = "lib",
|
||||
name = "reviewer_ts",
|
||||
srcs = glob(["*.ts"]),
|
||||
deps = ["//ts/lib"],
|
||||
deps = [
|
||||
"//ts/lib",
|
||||
"//ts/lib:backend_proto",
|
||||
"@npm//css-browser-selector",
|
||||
],
|
||||
)
|
||||
|
||||
esbuild(
|
||||
@ -36,7 +40,7 @@ esbuild(
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":lib",
|
||||
":reviewer_ts",
|
||||
"//ts/lib",
|
||||
"@npm//protobufjs",
|
||||
],
|
||||
|
@ -1,6 +1,8 @@
|
||||
// Copyright: Ankitects Pty Ltd and contributors
|
||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
import "css-browser-selector/css_browser_selector";
|
||||
|
||||
import { bridgeCommand } from "lib/bridgecommand";
|
||||
export { mutateNextCardStates } from "./answering";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user