mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
document undefined behavior for 0 parameter
This commit is contained in:
parent
0c2dd44f8d
commit
0c6c87b446
@ -198,11 +198,12 @@ var IPython = (function (IPython) {
|
||||
* Threshold is a maximum number of lines. If unspecified, defaults to
|
||||
* OutputArea.minimum_scroll_threshold.
|
||||
*
|
||||
* Negative or null (0) threshold will prevent the OutputArea from ever
|
||||
* scrolling
|
||||
* Negative threshold will prevent the OutputArea from ever scrolling.
|
||||
*
|
||||
* @method scroll_if_long
|
||||
* @param [lines=OutputArea.minimum_scroll_threshold]{Number} Default to `OutputArea.minimum_scroll_threshold`
|
||||
*
|
||||
* @param [lines=20]{Number} Default to 20 if not set,
|
||||
* behavior undefined for value of `0`.
|
||||
*
|
||||
**/
|
||||
OutputArea.prototype.scroll_if_long = function (lines) {
|
||||
|
Loading…
Reference in New Issue
Block a user