mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
remove var
This commit is contained in:
parent
d54e2c95af
commit
2899c766a1
@ -1065,7 +1065,7 @@ define([
|
|||||||
* @param {Number} [level] A heading level (e.g., 1 becomes <h1>)
|
* @param {Number} [level] A heading level (e.g., 1 becomes <h1>)
|
||||||
*/
|
*/
|
||||||
Notebook.prototype.to_heading = function (index, level) {
|
Notebook.prototype.to_heading = function (index, level) {
|
||||||
var level = level || 1;
|
level = level || 1;
|
||||||
var i = this.index_or_selected(index);
|
var i = this.index_or_selected(index);
|
||||||
if (this.is_valid_cell_index(i)) {
|
if (this.is_valid_cell_index(i)) {
|
||||||
var source_element = this.get_cell_element(i);
|
var source_element = this.get_cell_element(i);
|
||||||
|
Loading…
Reference in New Issue
Block a user