Skip to content

Commit

Permalink
MDL-79871 qtype_ordering: Further changes for readability
Browse files Browse the repository at this point in the history
Part of: MDL-79863
- Reduce usage of jQuery to only a couple of variables. These are left as is due to how heavy the usage is and how the base dnd seems to assume jQuery objects here and there.
- Templated the proxy string so we dont have to pull it in and replace tokens on the fly.
- Moved around functionality a bit to make for more concise reading and obvious delegation of responsibility
  • Loading branch information
Chocolate-lightning committed Apr 4, 2024
1 parent 646f1c7 commit 18182c3
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 121 deletions.
2 changes: 1 addition & 1 deletion question/type/ordering/amd/build/drag_reorder.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18182c3

Please sign in to comment.