mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00

* Add utility functions for saving and restoring the caret location * Implement cross-browser.getSelection * Save and restore location on ContentEditable * Fix refocus by clicking on a field that had a non-collapsed selection
24 lines
468 B
Text
24 lines
468 B
Text
load("//ts:typescript.bzl", "typescript")
|
|
load("//ts:prettier.bzl", "prettier_test")
|
|
load("//ts:eslint.bzl", "eslint_test")
|
|
load("//ts:jest.bzl", "jest_test")
|
|
|
|
typescript(
|
|
name = "domlib",
|
|
deps = [
|
|
"//ts/lib",
|
|
"@npm//@fluent/bundle",
|
|
"@npm//@types/jest",
|
|
"@npm//@types/long",
|
|
"@npm//intl-pluralrules",
|
|
"@npm//protobufjs",
|
|
"@npm//tslib",
|
|
],
|
|
)
|
|
|
|
# Tests
|
|
################
|
|
|
|
prettier_test()
|
|
|
|
eslint_test()
|