aboutsummaryrefslogtreecommitdiffstats
path: root/web/vendor/yepnope.js
Commit message (Collapse)AuthorAgeLines
* Use modern prefetch.Matthew Somerville2017-11-15-1/+0
| | | | | | | | | | | | | This removes the yepnope library, instead using <link rel="prefetch"> with a polyfill (the polyfill will work on Safari but reload cached script on the front page each time). We prefetch map-related JavaScript (and other libraries only used on map pages, such as Dropzone and Fancybox) on non-map pages, and don't bother loading the validate plugin on the front page. Now the map JavaScript list is available everywhere, we can use that in the prefetch rather a hardcoded list.
* Move third party libraries into vendor directoriesMatthew Somerville2017-05-23-0/+1
This makes the git hook that lints our own JavaScript easier, and keeps things more cleanly separated. We also remove unused third party libraries (select2 and jquery.placeholder).