|
|
@ -69,7 +69,7 @@ module.exports = class Filepanel extends ViewPlugin { |
|
|
|
return this.el |
|
|
|
return this.el |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
renderComponent() { |
|
|
|
renderComponent () { |
|
|
|
ReactDOM.render( |
|
|
|
ReactDOM.render( |
|
|
|
<Workspace |
|
|
|
<Workspace |
|
|
|
createWorkspace={this.createWorkspace.bind(this)} |
|
|
|
createWorkspace={this.createWorkspace.bind(this)} |
|
|
@ -91,7 +91,7 @@ module.exports = class Filepanel extends ViewPlugin { |
|
|
|
, this.el) |
|
|
|
, this.el) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @param item { id: string, name: string, type?: string[], path?: string[], extension?: string[], pattern?: string[] } |
|
|
|
* @param item { id: string, name: string, type?: string[], path?: string[], extension?: string[], pattern?: string[] } |
|
|
|
* @param callback (...args) => void |
|
|
|
* @param callback (...args) => void |
|
|
|
*/ |
|
|
|
*/ |
|
|
|