add getFilesFromPath

pull/3094/head
yann300 7 years ago
parent bc767fb496
commit 26c4f84304
  1. 3
      src/app/plugin/pluginAPI.js

@ -73,6 +73,9 @@ module.exports = (pluginManager, fileProviders, fileManager, compiler, udapp) =>
}
},
editor: {
getFilesFromPath: (mod, path, cb) => {
fileManager.filesFromPath(path, cb)
},
getCurrentFile: (mod, cb) => {
var path = fileManager.currentFile()
if (!path) {

Loading…
Cancel
Save