add getFilesFromPath

pull/1/head
yann300 7 years ago
parent 840899b41c
commit dc4a1941c6
  1. 3
      src/app/plugin/pluginAPI.js

@ -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) {

Loading…
Cancel
Save