jarradseers/express-load — pull request #3 by jmbarbier (2012-10-16 21:36:36+00:00)
Title: Added file extension check by default

Hello

I had some trouble debugging good code until i figured that express-load was loading my .js files AND emacs backup .js~ files ! express-load does not check file extensions... this is (at least for me) a big problem, as i have other files (todos, docs, .old, .v1...) in directories, and i think that can be a problem for other people using it ?..?

So I added file a extension check by default, with an option (checkext) to get both behaviours... maybe not having extension check by default could be better to keep old behaviour ?

Cheers

JMB