##// END OF EJS Templates
document undefined behavior for 0 parameter
Matthias BUSSONNIER -
Show More
@@ -198,11 +198,12 b' var IPython = (function (IPython) {'
198 * Threshold is a maximum number of lines. If unspecified, defaults to
198 * Threshold is a maximum number of lines. If unspecified, defaults to
199 * OutputArea.minimum_scroll_threshold.
199 * OutputArea.minimum_scroll_threshold.
200 *
200 *
201 * Negative or null (0) threshold will prevent the OutputArea from ever
201 * Negative threshold will prevent the OutputArea from ever scrolling.
202 * scrolling
203 *
202 *
204 * @method scroll_if_long
203 * @method scroll_if_long
205 * @param [lines=OutputArea.minimum_scroll_threshold]{Number} Default to `OutputArea.minimum_scroll_threshold`
204 *
205 * @param [lines=20]{Number} Default to 20 if not set,
206 * behavior undefined for value of `0`.
206 *
207 *
207 **/
208 **/
208 OutputArea.prototype.scroll_if_long = function (lines) {
209 OutputArea.prototype.scroll_if_long = function (lines) {
General Comments 0
You need to be logged in to leave comments. Login now