Skip to content

Commit

Permalink
Merge pull request #18 from cfjedimaster/master
Browse files Browse the repository at this point in the history
Fixes issue 17
  • Loading branch information
jrowny committed Jul 15, 2013
2 parents f630612 + 9de2ab4 commit 495d86b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Expand Up @@ -295,6 +295,7 @@ define(function (require, exports, module) {
if (config.dataDirectory.indexOf("/") !== -1 || config.dataDirectory.indexOf("\\") !== -1) {
directory = config.dataDirectory;
}

//loop through the directory to load snippets
NativeFileSystem.requestNativeFileSystem(directory,
function (rootEntry) {
Expand All @@ -304,7 +305,7 @@ define(function (require, exports, module) {
for (i = 0; i < len; i++) {
if (entries[i].name.charAt(0) === ".") {
//ignore dotfiles
return
continue;
}
loading.push(loadSnippet(entries[i]));
}
Expand Down

0 comments on commit 495d86b

Please sign in to comment.