9e1eaacc06
This reverts commit62600051ae
, reversing changes made to88553acb0d
. - Standard graphs render incorrectly on latest version - the wrong number of days are shown, and the grid lines look wrong. Any version after 0.8.3 seems to suffer from this problem. - Pie graphs and stack graphs don't render - they are provided in separate files, and plot.js in previous Anki versions has them included in the one file. To maintain compatibility with add-ons, we'd need to create a single file as before, instead of importing multiple files. If the above issues are fixed I'd be happy to merge this in again, but as the old graphs are on the way out, it's probably not worth the effort.
24 lines
441 B
Python
24 lines
441 B
Python
load("//ts:jquery.bzl", "copy_jquery")
|
|
|
|
copy_jquery(
|
|
name = "jquery",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
|
|
files = [
|
|
"jquery",
|
|
]
|
|
|
|
directories = [
|
|
"mathjax",
|
|
]
|
|
|
|
filegroup(
|
|
name = "vendor",
|
|
srcs = glob(["*.js"])
|
|
+ ["//qt/aqt/data/web/js/vendor:{}".format(file) for file in files]
|
|
+ ["//qt/aqt/data/web/js/vendor/{}".format(dir) for dir in directories],
|
|
visibility = ["//qt:__subpackages__"],
|
|
)
|