remove var

This commit is contained in:
Matthias BUSSONNIER 2014-07-30 18:13:31 +02:00
parent d54e2c95af
commit 2899c766a1

View File

@ -1065,7 +1065,7 @@ define([
* @param {Number} [level] A heading level (e.g., 1 becomes <h1>)
*/
Notebook.prototype.to_heading = function (index, level) {
var level = level || 1;
level = level || 1;
var i = this.index_or_selected(index);
if (this.is_valid_cell_index(i)) {
var source_element = this.get_cell_element(i);