0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Add getRoot method

This commit is contained in:
Neil Jenkins 2016-03-30 10:42:41 +11:00
parent 230520645b
commit 5b4aa6b764
3 changed files with 8 additions and 2 deletions

View file

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

View file

@ -190,6 +190,9 @@ proto.didError = function ( error ) {
proto.getDocument = function () {
return this._doc;
};
proto.getRoot = function () {
return this._root;
};
// --- Events ---