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:
|
def _setup_web_view(self) -> None:
|
||||||
jsinc = [
|
jsinc = [
|
||||||
"js/vendor/jquery.min.js",
|
"js/vendor/jquery.min.js",
|
||||||
"js/vendor/css_browser_selector.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",
|
||||||
|
@ -332,7 +332,6 @@ class CardLayout(QDialog):
|
|||||||
|
|
||||||
jsinc = [
|
jsinc = [
|
||||||
"js/vendor/jquery.min.js",
|
"js/vendor/jquery.min.js",
|
||||||
"js/vendor/css_browser_selector.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",
|
||||||
|
@ -16,9 +16,13 @@ compile_sass(
|
|||||||
|
|
||||||
|
|
||||||
ts_library(
|
ts_library(
|
||||||
name = "lib",
|
name = "reviewer_ts",
|
||||||
srcs = glob(["*.ts"]),
|
srcs = glob(["*.ts"]),
|
||||||
deps = ["//ts/lib"],
|
deps = [
|
||||||
|
"//ts/lib",
|
||||||
|
"//ts/lib:backend_proto",
|
||||||
|
"@npm//css-browser-selector",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
esbuild(
|
esbuild(
|
||||||
@ -36,7 +40,7 @@ esbuild(
|
|||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":lib",
|
":reviewer_ts",
|
||||||
"//ts/lib",
|
"//ts/lib",
|
||||||
"@npm//protobufjs",
|
"@npm//protobufjs",
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
// Copyright: Ankitects Pty Ltd and contributors
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
// 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 { 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