OpenBuildings/asset-merger — Issue #3: Can't use not all paths
Author: Slaver
Created: 2011-12-11 20:10:06+00:00
State: open

Can't use only one type of assets if in load_paths defined others. For example:

```php
'load_paths' => array(
Assets::JAVASCRIPT => DOCROOT.'assets/js/',
Assets::STYLESHEET => DOCROOT.'assets/css/',
),
```

I can't use only

```php
echo Assets::factory('main')
->css('style.css', array('processor' => 'cssmin'));
```

It would be render error.

```Fatal error: Method Assets::__toString() must not throw an exception in [...]template.php on line [...]```

I should use also js:

```php
echo Assets::factory('main')
->js('jquery.js', array('processor' => 'jsmin'))
->css('style.css', array('processor' => 'cssmin'));
```