-
Notifications
You must be signed in to change notification settings - Fork 15
Description
This may seem like a helper, but the :// search on line 261 should just be // because you then don't have to worry about whether it's ssl or not and can pass in a script path like this:
//www.mysite.com/scripts/whatever.js
and it will use http or https depending on what mode the page is in. if you force urls to have http: or https: in them then we have to do an unnecessary script check for ssl and provide an alternate url.
that may be an option to add to this... I might suggest the following:
minurl = local min url on your domain
url = local url on your domain
cdnminurl = CDN min url
cdnurl = CDN url
and then add ssl to all those for ssl versions. unless you want to add the ssl check in the loader itself and have it change the script urls appropriately...?