mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
Add getRoot method
This commit is contained in:
parent
230520645b
commit
5b4aa6b764
3 changed files with 8 additions and 2 deletions
|
@ -2396,6 +2396,9 @@ proto.didError = function ( error ) {
|
|||
proto.getDocument = function () {
|
||||
return this._doc;
|
||||
};
|
||||
proto.getRoot = function () {
|
||||
return this._root;
|
||||
};
|
||||
|
||||
// --- Events ---
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -190,6 +190,9 @@ proto.didError = function ( error ) {
|
|||
proto.getDocument = function () {
|
||||
return this._doc;
|
||||
};
|
||||
proto.getRoot = function () {
|
||||
return this._root;
|
||||
};
|
||||
|
||||
// --- Events ---
|
||||
|
||||
|
|
Loading…
Reference in a new issue