Skip to content

Commit

Permalink
Remove CoffeeScript-PHP header
Browse files Browse the repository at this point in the history
Change the header option to false
  • Loading branch information
Jeremy P committed Mar 22, 2013
1 parent b6bc22d commit 2a9bbb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Munee/Asset/Type/JavaScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.