Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make app.prefetch ignore hidden files. Should fix #47

  • Loading branch information...
commit 469a0681537e83dd0dc863ba13d9cb2031bb7f5a 1 parent 09004e4
@dpup dpup authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/matador.js
View
1  src/matador.js
@@ -122,6 +122,7 @@ module.exports.createApp = function (baseDir, configuration, options) {
var d = dir + '/' + type
if (!isDirectory(d)) return
v.each(fs.readdirSync(d), function (file) {
+ if (file.charAt(0) == '.') return
if (file.substr(file.length - 3) === '.js') file = file.substr(0, file.length - 3)
loadFile(type, file, dir)
})
Please sign in to comment.
Something went wrong with that request. Please try again.