|
|
@@ -181,8 +181,8 @@ export default class Document {
|
|
|
/**
|
|
|
* Creates a new top-level root.
|
|
|
*
|
|
|
- * @param {String} [rootName='main'] Unique root name.
|
|
|
* @param {String} [elementName='$root'] Element name. Defaults to `'$root'` which also have
|
|
|
+ * @param {String} [rootName='main'] Unique root name.
|
|
|
* some basic schema defined (`$block`s are allowed inside the `$root`). Make sure to define a proper
|
|
|
* schema if you use a different name.
|
|
|
* @returns {engine.model.RootElement} Created root.
|