You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish to be able to use external URLs like /js/myscript.js
So the behaviour should remain as if the file was local, but it should be
loaded externally.
Reported by admin@mrmunk.dk on 2010-01-30 12:08:16
The text was updated successfully, but these errors were encountered:
A crude solution is already possible:
http://code.google.com/p/minify/wiki/CustomSource#Example:_Content_from_a_URL
But something that would be resilient to remote errors is forthcoming, with usage
looking something like: (in groupsConfig.php)
$src1 = new Minify_Source_Url(array(
'url' => 'http://3rdparty.com/file.js'
,'contentPattern' => '@if this doesn\'t match, use backup@'
,'backupFile' => '/path/to/file_backup.js'
/* many more options */
));
return array(
'js' => array('//js/file1.js', $src1, '//js/file3.js');
);
Originally reported on Google Code with ID 156
Reported by
admin@mrmunk.dk
on 2010-01-30 12:08:16The text was updated successfully, but these errors were encountered: