Remove protobuf important from reiewer (no longer necessary (?))
This commit is contained in:
parent
d6393ba996
commit
ddf3adfc8e
@ -127,10 +127,7 @@ class Previewer(QDialog):
|
||||
self._web.stdHtml(
|
||||
self.mw.reviewer.revHtml(),
|
||||
css=["css/reviewer.css"],
|
||||
js=[
|
||||
"js/vendor/protobuf.min.js",
|
||||
"js/reviewer.js",
|
||||
],
|
||||
js=["js/reviewer.js"],
|
||||
context=self,
|
||||
)
|
||||
self._web.set_bridge_command(self._on_bridge_cmd, self)
|
||||
|
@ -333,10 +333,7 @@ class CardLayout(QDialog):
|
||||
self.preview_web.stdHtml(
|
||||
self.mw.reviewer.revHtml(),
|
||||
css=["css/reviewer.css"],
|
||||
js=[
|
||||
"js/vendor/protobuf.min.js",
|
||||
"js/reviewer.js",
|
||||
],
|
||||
js=["js/reviewer.js"],
|
||||
context=self,
|
||||
)
|
||||
self.preview_web.set_bridge_command(self._on_bridge_cmd, self)
|
||||
|
@ -287,10 +287,7 @@ class Reviewer:
|
||||
self.web.stdHtml(
|
||||
self.revHtml(),
|
||||
css=["css/reviewer.css"],
|
||||
js=[
|
||||
"js/vendor/protobuf.min.js",
|
||||
"js/reviewer.js",
|
||||
],
|
||||
js=["js/reviewer.js"],
|
||||
context=self,
|
||||
)
|
||||
# show answer / ease buttons
|
||||
|
@ -133,10 +133,10 @@ esbuild(
|
||||
output_css = "editor.css",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"base_css",
|
||||
"bootstrap-icons",
|
||||
"editor_ts",
|
||||
"base_css",
|
||||
"local_css",
|
||||
"bootstrap-icons",
|
||||
"mdi-icons",
|
||||
"svelte_components",
|
||||
"//ts/components",
|
||||
|
@ -29,22 +29,16 @@ ts_library(
|
||||
|
||||
esbuild(
|
||||
name = "reviewer",
|
||||
srcs = [
|
||||
"//ts:protobuf-shim.js",
|
||||
],
|
||||
args = [
|
||||
"--resolve-extensions=.mjs,.js",
|
||||
"--log-level=warning",
|
||||
],
|
||||
entry_point = "index_wrapper.ts",
|
||||
external = [
|
||||
"protobufjs/light",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":reviewer_ts",
|
||||
"@npm//mathjax-full",
|
||||
"//ts/lib",
|
||||
"//ts/lib:backend_proto",
|
||||
"@npm//protobufjs",
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user