Our Forums are now closed. Please go to our Google Mailing List for help. This site will remain open for historical purposes.
ColdBox Framework Forums Home | Profile | Search | Login | RSS

 pdf Print PDF   Previous Page  Page: 1   Next Page

Thread: JSMin
Created on: 04/26/10 03:00 PM Replies: 0
emeade
Newbie

Joined: 01/28/10
Posts: 7
JSMin
04/26/10 3:00 PM

Started using the JSMin plugin today and ran into two problems that may require enhancements.

1. I'm using SES Pretty URLS on my localhost. The relative URL in the <script> and <link> tags breaks because index.cfm is included. I fixed this by adding a parameter for siteURL and appending it to the load asset link so the <script> and <link> tags would use the fully qualified URL.

2. Relative image paths in CSS files break depending on the jsmin_cachelocation. I have my javascript in includes/javascript and CSS in includes/styles and had the jsmin_cachelocation set to includes/cache. I think it would be useful to override the jsmin_cachelocation in the minify method so I don't have to modify the CSS or move the images.
Link | Top | Bottom

Galleon Forums V1.7.008 was created by Raymond Camden