This makes it easier to develop PopIt with slow or no internet connection, e.g. on a train or similar.
Uses a local copy of jQuery rather than one from Google's CDN
Adds an offline flag to the config which when set to true will skip loading external fonts
One thing this doesn't take care of is DNS, as xip.io requires an internet connection to work properly. The options here are to either add the xip.io hosts that you want to use to your /etc/hosts file, or install dnsmasq and have that resolve all *.dev domains on your local machine. But that's left as an exercise for the reader.
This makes it easier to develop PopIt with slow or no internet connection, e.g. on a train or similar.
offline
flag to the config which when set to true will skip loading external fontsOne thing this doesn't take care of is DNS, as xip.io requires an internet connection to work properly. The options here are to either add the xip.io hosts that you want to use to your
/etc/hosts
file, or install dnsmasq and have that resolve all*.dev
domains on your local machine. But that's left as an exercise for the reader.