Updates to JavaScript code for HotPot exercises
Posted by mholmes on 22 Nov 2012 in R & D, Activity log, Documentation
A change in the user agent string for Firefox 17 has triggered an error message in HotPot and Quandary exercises. An update to the applications will be required, which we'll do at home, but in the meantime all the existing exercises we provide to departments needed to be updated, including Greek, Latin, Spanish, XSLT (DHSI), Hulquminum and Arabic. Those have all now been updated.
This is basically what I did:
- Search and replace with regex on the dir trees in Oxygen:
([\t ]*alert\('Your browser may not be able to handle this page.'\);) //$1
- rsync of the HTML files to the site -- e.g.:
rsync --verbose --progress --stats --recursive --include '*/' --include '*.htm' --exclude '*' arabic/ lancenrd@unix.uvic.ca:/u/lancenrd/www/arabic/