X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fdom%2Fdocument.js;h=bd8c18c85953605081e2863cfc7a8fd2e2609b44;hp=e1026c13aa776e5d0d0771dcb8afd4439fb4d21b;hb=c6e377a02b54abc07129d72b632763c727476a15;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6 diff --git a/_source/core/dom/document.js b/_source/core/dom/document.js index e1026c1..bd8c18c 100644 --- a/_source/core/dom/document.js +++ b/_source/core/dom/document.js @@ -168,7 +168,6 @@ CKEDITOR.tools.extend( CKEDITOR.dom.document.prototype, head = new CKEDITOR.dom.element( head ); return ( - /** @ignore */ this.getHead = function() { return head; @@ -187,19 +186,21 @@ CKEDITOR.tools.extend( CKEDITOR.dom.document.prototype, var body = new CKEDITOR.dom.element( this.$.body ); return ( - /** @ignore */ this.getBody = function() { return body; })(); }, + /** + * Gets the DOM document element for this document. + * @returns {CKEDITOR.dom.element} The DOM document element. + */ getDocumentElement : function() { var documentElement = new CKEDITOR.dom.element( this.$.documentElement ); return ( - /** @ignore */ this.getDocumentElement = function() { return documentElement; @@ -209,14 +210,12 @@ CKEDITOR.tools.extend( CKEDITOR.dom.document.prototype, /** * Gets the window object that holds this document. * @returns {CKEDITOR.dom.window} The window object. - * @example */ getWindow : function() { var win = new CKEDITOR.dom.window( this.$.parentWindow || this.$.defaultView ); return ( - /** @ignore */ this.getWindow = function() { return win;