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