Skip to content

Commit

Permalink
Merge pull request balderdashy#757 from tonychenc/issue-685
Browse files Browse the repository at this point in the history
To resolve Issue balderdashy#685 and correct model loader
  • Loading branch information
particlebanana committed Aug 29, 2013
2 parents ad9206b + 3e6c97a commit 99abd15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/moduleloader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ options {}
*/
function buildDictionary(options) {

// exclude source control directories
if(!options.excludeDirs) {
options.excludeDirs = /^\.(git|svn)$/;
}

var files = require('include-all')(options);
var dictionary = {};

Expand Down

0 comments on commit 99abd15

Please sign in to comment.