Permalink
Browse files

Suport ignoring shebangs

  • Loading branch information...
1 parent 7467809 commit d46a32a1106caf815ff30e838b81c62c5aded9a2 @cachafla committed Feb 24, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/dox/index.js
View
@@ -261,6 +261,8 @@ var render = exports.render = function(str, file){
// Ignored comment
} else if (/^!\s*\*/.test(part)) {
continue;
+ } else if (/^\#\!\//.test(part)) {
+ continue;
} else {
++i;

0 comments on commit d46a32a

Please sign in to comment.