Permalink
Browse files

Remove CoffeeScript-PHP header

Change the header option to false
  • Loading branch information...
Jeremy P
Jeremy P committed Mar 22, 2013
1 parent b6bc22d commit 2a9bbb6f02c2415aa99a93774a9d470c35ec4124
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Munee/Asset/Type/JavaScript.php
@@ -38,8 +38,8 @@ public function getHeaders()
protected function _beforeFilter($originalFile, $cacheFile)
{
if ('coffee' == pathinfo($originalFile, PATHINFO_EXTENSION)) {
$coffeeScript = CoffeeScript\Compiler::compile(file_get_contents($originalFile));
$coffeeScript = CoffeeScript\Compiler::compile(file_get_contents($originalFile), array('header' => false));
file_put_contents($cacheFile, $coffeeScript);
}
}
}
}

0 comments on commit 2a9bbb6

Please sign in to comment.