teamcfadvance / cfstatic

CfStatic is a framework for managing the inclusion and packaging of CSS and JavaScript in CFML applications.
https://teamcfadvance.github.io/cfstatic
MIT License
102 stars 35 forks source link

Create new API method, getUrl( staticPath ), to retrieve compiled URL of given static asset #106

Open DominicWatson opened 10 years ago

DominicWatson commented 10 years ago

i.e.

compiledUrl = cfstatic.getUrl( "/js/core/" ); // example result = '/assets/min/core.min.F86847A221FB807F6ACF1C9ADDC601AE.js'