diff --git a/lib/ace/scrollbar.js b/lib/ace/scrollbar.js index 36619bd5..642e2d3e 100644 --- a/lib/ace/scrollbar.js +++ b/lib/ace/scrollbar.js @@ -37,8 +37,6 @@ var event = require("./lib/event"); var EventEmitter = require("./lib/event_emitter").EventEmitter; /** - * - * * A set of methods for setting and retrieving the editor's scrollbar. * @class ScrollBar **/ @@ -47,9 +45,6 @@ var EventEmitter = require("./lib/event_emitter").EventEmitter; * Creates a new `ScrollBar`. `parent` is the owner of the scroll bar. * @param {DOMElement} parent A DOM element * - * - * - * * @constructor **/ var ScrollBar = function(parent) { @@ -62,8 +57,8 @@ var ScrollBar = function(parent) { parent.appendChild(this.element); - // in OSX lion the scrollbars appear to have no width. In this case resize - // the to show the scrollbar but still pretend that the scrollbar has a width + // in OSX lion the scrollbars appear to have no width. In this case resize the + // element to show the scrollbar but still pretend that the scrollbar has a width // of 0px // in Firefox 6+ scrollbar is hidden if element has the same width as scrollbar // make element a little bit wider to retain scrollbar when page is zoomed @@ -80,9 +75,6 @@ var ScrollBar = function(parent) { * Emitted when the scroll bar, well, scrolls. * @event scroll * @param {Object} e Contains one property, `"data"`, which indicates the current scroll top position - * - * - * **/ this.onScroll = function() { if (!this.skipEvent) { @@ -93,7 +85,6 @@ var ScrollBar = function(parent) { }; /** - * * Returns the width of the scroll bar. * @returns {Number} **/ @@ -104,9 +95,6 @@ var ScrollBar = function(parent) { /** * Sets the height of the scroll bar, in pixels. * @param {Number} height The new height - * - * - * **/ this.setHeight = function(height) { this.element.style.height = height + "px"; @@ -115,9 +103,6 @@ var ScrollBar = function(parent) { /** * Sets the inner height of the scroll bar, in pixels. * @param {Number} height The new inner height - * - * - * **/ this.setInnerHeight = function(height) { this.inner.style.height = height + "px"; @@ -129,9 +114,6 @@ var ScrollBar = function(parent) { /** * Sets the scroll top of the scroll bar. * @param {Number} scrollTop The new scroll top - * - * - * **/ this.setScrollTop = function(scrollTop) { if (this.scrollTop != scrollTop) {