jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/386782 )
Change subject: ve.ui.Surface: Fix documentation for #getDom ...................................................................... ve.ui.Surface: Fix documentation for #getDom It returns a string in source mode, rather than an HTMLDocument. Change-Id: Id4c2a5fae5949ede81b230470246dac79ebc66a8 --- M src/ui/ve.ui.Surface.js 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Esanders: Looks good to me, approved jenkins-bot: Verified diff --git a/src/ui/ve.ui.Surface.js b/src/ui/ve.ui.Surface.js index 059efb5..257e442 100644 --- a/src/ui/ve.ui.Surface.js +++ b/src/ui/ve.ui.Surface.js @@ -204,7 +204,7 @@ /** * Get the DOM representation of the surface's current state. * - * @return {HTMLDocument} HTML document + * @return {HTMLDocument|string} HTML document (visual mode) or text (source mode) */ ve.ui.Surface.prototype.getDom = function () { // Optimized converter for source mode, which contains only -- To view, visit https://gerrit.wikimedia.org/r/386782 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id4c2a5fae5949ede81b230470246dac79ebc66a8 Gerrit-PatchSet: 2 Gerrit-Project: VisualEditor/VisualEditor Gerrit-Branch: master Gerrit-Owner: Catrope <r...@wikimedia.org> Gerrit-Reviewer: Esanders <esand...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits