Skip to content

Commit

Permalink
Use less jquery (#729)
Browse files Browse the repository at this point in the history
* tabIndex can be undefined

* getTitleSpan return an element

* getLi returns an element

* getUl returns an element

* getButton returns an element

* Remove $element

* Wip

* Add test

* Build

* Refacot NodeElement

* Use offsetWidth and clientHeight in BorderDropHint

* BorderDropHint: remove jquery

* Build

* Empty lib directory for production build

* Build

* Remove jquery from GhostDropHint

* Refactor DragAndDropHandler

* Build

* Use HTMLElement in VisibleNodeIterator

* Build

* Remove jquery from key handler

* Use HtmlElement for getNode

* Build

* Remove jquery from mustCaptureElement

* Remove jquery from _getNodeElement
  • Loading branch information
mbraak authored Nov 5, 2023
1 parent 45217fb commit 04280df
Show file tree
Hide file tree
Showing 41 changed files with 1,884 additions and 1,921 deletions.
2 changes: 2 additions & 0 deletions config/production
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
rm -rf ./lib &&
mkdir lib &&
rollup -c config/rollup.config.mjs &&
DEBUG_BUILD=true rollup -c config/rollup.config.mjs &&
babel src --config-file ./config/babel.config.json --out-dir lib --extensions .ts &&
Expand Down
Loading

0 comments on commit 04280df

Please sign in to comment.