Bugfix/separate declaration from exposition (#245)

* Separate definition from exposition

* Suppress previous documentation before generating new one

* Restore deleted line

* Set up verbosity to provide details on what's going on
This commit is contained in:
tetedacier
2018-05-29 18:43:02 +02:00
committed by Jeff Schiller
parent 76db126ec7
commit d098dc0914
7 changed files with 17 additions and 6 deletions

View File

@@ -95,7 +95,8 @@ function getMessageListener (t) {
* messages will be allowed when same origin is not used; defaults to none.
* If supplied, it should probably be the same as svgEditor's allowedOrigins
*/
export default class EmbeddedSVGEdit {
class EmbeddedSVGEdit {
constructor (frame, allowedOrigins) {
this.allowedOrigins = allowedOrigins || [];
// Initialize communication
@@ -167,3 +168,5 @@ export default class EmbeddedSVGEdit {
return cbid;
}
}
export default EmbeddedSVGEdit;