Permalink
Browse files

The comment can now have /*! ... */ which does not get stripped by YUI

  • Loading branch information...
1 parent 674d31b commit 971c1e97bba2cf139af854232022d0a3c0b53136 @arian committed Feb 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 packager.php
View
@@ -69,7 +69,7 @@ private function parse_manifest($path){
$descriptor = array();
// get contents of first comment
- preg_match('/\/\*\s*^---(.*?)^\.\.\.\s*\*\//ms', $source, $matches);
+ preg_match('/\/\*!?\s*^---(.*?)^\.\.\.\s*\*\//ms', $source, $matches);
if (!empty($matches)) $descriptor = YAML::decode($matches[0]);

0 comments on commit 971c1e9

Please sign in to comment.