Closed athibaud closed 12 years ago
the global handler uses the expression:
new RegExp('.*\.js$')
but you use a single-quoted string and you forgot to escape the backslash so it evaluates to:
/.*.js$/
which obviously doesn't do the same thing!
found about that one when trying to define custom handlers for .ejs files, there would be two handlers for those files for the both finish with 'js'! cool project btw!
:+1: thanks @athibaud!
the global handler uses the expression:
but you use a single-quoted string and you forgot to escape the backslash so it evaluates to:
which obviously doesn't do the same thing!