diff --git a/index.js b/index.js index 27c8254..ea96677 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,7 @@ styles.slash = new Style('//'); styles.star = new Style(' *','/**', ' */'); styles.triple = new Style('', '###', '###'); styles.html = new Style(' //', ''); +styles.php = new Style(' *',''); // // Assign the different extensions to their correct commenting styles. @@ -33,6 +34,7 @@ styles.html = new Style(' //', ''); extension['.htm'] = extension['.svg'] = extension['.html'] = styles.html; +extension['.php'] = styles.php; extension['.js'] = extension['.css'] =