moorescloud/holideck — pull request #6 by nickhodge (2014-01-17 06:31:43+00:00)
Title: modify jquery css head insert

jQuery Mobile and jQuery are interesting beasts.

In the jQuery Mobile app, if you insert (via jQuery) a new css, on some browsers it works. On IE10 it doesn't. What happens is that IE10 attempts to reload the css without taking the into consideration. And is used extensively by jQuery Mobile to separate apps.

This modification gets the from the rendered jQuery Mobile page, prepends this to the .css and then uses jQuery to insert the full path into the header.

IE10 (Windows Phone) is happy; have regression tested with Chrome & IE11 (not on phone OK)