Commit dc4a1941 authored by yann300's avatar yann300

add getFilesFromPath

parent 840899b4
...@@ -73,6 +73,9 @@ module.exports = (pluginManager, fileProviders, fileManager, compiler, udapp) => ...@@ -73,6 +73,9 @@ module.exports = (pluginManager, fileProviders, fileManager, compiler, udapp) =>
} }
}, },
editor: { editor: {
getFilesFromPath: (mod, path, cb) => {
fileManager.filesFromPath(path, cb)
},
getCurrentFile: (mod, cb) => { getCurrentFile: (mod, cb) => {
var path = fileManager.currentFile() var path = fileManager.currentFile()
if (!path) { if (!path) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment