Skip to content

Commit

Permalink
Removed jquery.inview JavaScript library
Browse files Browse the repository at this point in the history
The `jquery.inview` library was being used to trigger an animation when
an icon in a feature list element is fully visible on screen. This patch
replaces `jquery.inview` with an implementation based on
`IntersectionObserver`, which is widely supported:
https://caniuse.com/intersectionobserver.

This patch also simplifies the structure of `list-feature.js`.
  • Loading branch information
adamzap authored Dec 8, 2024
1 parent 402eb0b commit 5cad7d2
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 913 deletions.
1 change: 0 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"private": true,
"dependencies": {
"jquery": "<2.0",
"jquery.inview": "1.0.0",
"webfontloader": "~1.5.10",
"jquery-flot": "~0.8.3",
"clipboard": "~1.5.12"
Expand Down
16 changes: 0 additions & 16 deletions djangoproject/static/js/lib/jquery.inview/.bower.json

This file was deleted.

1 change: 0 additions & 1 deletion djangoproject/static/js/lib/jquery.inview/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions djangoproject/static/js/lib/jquery.inview/LICENSE

This file was deleted.

123 changes: 0 additions & 123 deletions djangoproject/static/js/lib/jquery.inview/README.textile

This file was deleted.

6 changes: 0 additions & 6 deletions djangoproject/static/js/lib/jquery.inview/bower.json

This file was deleted.

46 changes: 0 additions & 46 deletions djangoproject/static/js/lib/jquery.inview/example/advanced.html

This file was deleted.

98 changes: 0 additions & 98 deletions djangoproject/static/js/lib/jquery.inview/example/live_event.html

This file was deleted.

Loading

0 comments on commit 5cad7d2

Please sign in to comment.