UnionOfRAD/lithium — pull request #221 by edude03 (2011-12-26 23:18:51+00:00)
Title: Added a way to allow a "base" url to be added to the script and css tags

Our application serves static content from a CDN, however in the development phase we serve the content up locally, to make it easy to define which one to load the content from I implemented a 'base' tag that allows it to be specified like so:

```php

html->style(array('app', 'foundation','jquery.jbar.css', 'jquery.mentionsInput'), compact('base')); ?>
html->script(array('jquery-1.6.4.min', 'app.js', 'foundation.js', 'humane.js', 'jquery.bar.js', 'underscore-min.js', 'jquery.elastic.js', 'jquery.mentionsInput.js'), compact('base')); ?>
```

Which will render http://cdn.myapp.com/js/jquery-1.6.4.min if we're in production or simply /js/jquery-1.6.4.min otherwise