Skip to content

Commit

Permalink
Merge pull request #16 from chrismatheson/dotfiles
Browse files Browse the repository at this point in the history
added hack to ignore dotfiles
  • Loading branch information
jrowny committed Jul 10, 2013
2 parents b6fcc26 + 2527e3c commit f630612
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.js
Expand Up @@ -302,6 +302,10 @@ define(function (require, exports, module) {
function (entries) {
var i, loading = [], len = entries.length;
for (i = 0; i < len; i++) {
if (entries[i].name.charAt(0) === ".") {
//ignore dotfiles
return
}
loading.push(loadSnippet(entries[i]));
}
$.when.apply(module, loading).done(finalizeSnippetsTable);
Expand Down

0 comments on commit f630612

Please sign in to comment.