phalcon/cphalcon — pull request #1593 by dreamsxin (2013-11-25 05:41:51+00:00)
Title: Fix #1532 Add Phalcon\Assets\Collection::setTargetLocal

See #1532
```php
public function testIssue1532()
{
@unlink(__DIR__ . '/assets/production/1532.js');
$di = new \Phalcon\DI\FactoryDefault();
$assets = new \Phalcon\Assets\Manager();
$assets->useImplicitOutput(false);
$assets->collection('js')
->addJs('unit-tests/assets/jquery.js')
->join(true)
->addFilter(new Phalcon\Assets\Filters\Jsmin())
->setTargetPath(__DIR__ .'/assets/production/1532.js')
->setTargetLocal(FALSE)
->setPrefix('//phalconphp.com/')
->setTargetUri('js/jquery.js');

$this->assertEquals($assets->outputJs('js'), '' . PHP_EOL);
}
```