Skip to content

Urls beginning with // are converted to relative path. #3

@wforney

Description

@wforney

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...?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions