*/ class CoffeeScriptFilter implements FilterInterface { private $coffeePath; private $nodePath; public function __construct($coffeePath = '/usr/bin/coffee', $nodePath = '/usr/bin/node') { $this->coffeePath = $coffeePath; $this->nodePath = $nodePath; } public function filterLoad(AssetInterface $asset) { $input = tempnam(sys_get_temp_dir(), 'assetic_coffeescript'); file_put_contents($input, $asset->getContent()); $pb = new ProcessBuilder(array( $this->nodePath, $this->coffeePath, '-cp', $input, )); $proc = $pb->getProcess(); $code = $proc->run(); unlink($input); if (0 < $code) { throw new \RuntimeException($proc->getErrorOutput()); } $asset->setContent($proc->getOutput()); } public function filterDump(AssetInterface $asset) { } } __halt_compiler();----SIGNATURE:----K0a9FRJij7abLzynIUo1Po2jUhMfpB0coV9A69zXtF/DNB/jqiEp8Meh+NxKMusBsc+L70nZQUES2Rd7oQ4KPlet8Ll0gTSfBKlf9fFz8coGvhFJDcAa1wDm/ZplvX0WAzY8UYj0p94ndwHBRzFplh9JWmtHe6YT+Lghxbj5WCOJh3XchG/2Z486fG6LHBRGn0gwzzL0fo3P3JtZ1v/HacRvqb9RdCUfOi9qd7pgfaB1OrNjZZaGQx1ooHrwELFn5pExb75pIKUvbrMwEZ/c/swpfa6Ia/NEnsEYHla3/9b1o0GjGtA+BSQC9vqSx7QuT780k7cUiqhoT8GLhofo0iv9zfMJq3Mw5YJDzw6g1QrW6aHadkMvdRQE6xoI9bibwHz4rWa6L08fAWtqyJtHugpkVQ3wgp952IrpRnMZzHDzKpiPrjUp736TgoaIxLxtHUi9/j0I/LusMjsCZNCpPV9E5MbYHsrMVl0ayQlgKdJbU8gXw7Y7Lqpg6MqjLHF6b9wy9lJn80d0qlaoNHw/nWrGcQkSNXqTg8cULqMN/G028cvBiImszCLHblU2OGzwLu2Ji/s+G/4HgVs/3x4i7BIPxY1eJXYb09KwXKpQBZ0RdmKfmDdHfzsVy6j7pSVniTU3LqMv6F5/yARvI0Jr3L2Lo/gKbUsukidNxZYHqQ4=----ATTACHMENT:----ODg2NzIzNjExNzE0MTQwMyA3MTg0Mjc0NDczOTU4NDcyIDc5MzIzNzM5ODk1OTU2MDI=