-
Notifications
You must be signed in to change notification settings - Fork 20
Debugging and Testing
Adding a debug query (?debug) to the call to rg2 will download the uncompressed .js files rather than rg2-x-y-z.min.js. This originally made debugging easier on live sites, but the maps now sort that out. It is retained to avoid having to build everything after every change in the local test environment. Yes, I know Webpack would do that, and one day it will get closer to the top of the list of things to do.
The debug setting is also activated if you are using an rg2-override-config.php file.
example: http://www.happyherts.routegadget.co.uk/rg2?debug
After testing a number of possible touch interface solutions it turned out that a simple home-grown solution worked best. Therefore the touch interface does not include any libraries. This might change when jquery-ui adds support for touch, which is meant to happen somewhen.
See the RG2 Protractor test set-up