|
|
@@ -10,6 +10,12 @@ define([ |
|
|
|
return fs.readdirSync(path).filter(function(file) { |
|
|
|
return !fs.statSync(fsPath.join(path, file)).isDirectory(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
getFolderList: function(path) { |
|
|
|
return fs.readdirSync(path).filter(function(file) { |
|
|
|
return fs.statSync(fsPath.join(path, file)).isDirectory(); |
|
|
|
}); |
|
|
|
} |
|
|
|
}; |
|
|
|
}); |