From cc92e9dfeba38e776e8d64cd0c1f2e965eedf306 2014-07-28 19:43:57 From: Matthias BUSSONNIER Date: 2014-07-28 19:43:57 Subject: [PATCH] remove unused dependecy and css class --- diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index f7459cb..df945a1 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -2140,8 +2140,7 @@ define([ Notebook.prototype.rename_error = function (xhr, status, error) { var that = this; var dialog_body = $('
').append( - $("

").addClass("rename-message") - .text('This notebook name already exists.') + $("

").text('This notebook name already exists.') ); this.events.trigger('notebook_rename_failed.Notebook', [xhr, status, error]); dialog.modal({ diff --git a/IPython/html/static/notebook/js/savewidget.js b/IPython/html/static/notebook/js/savewidget.js index 604712e..aa03ec3 100644 --- a/IPython/html/static/notebook/js/savewidget.js +++ b/IPython/html/static/notebook/js/savewidget.js @@ -7,12 +7,11 @@ define([ 'base/js/utils', 'base/js/dialog', 'base/js/keyboard', - 'dateformat', ], function(IPython, $, utils, dialog, keyboard) { "use strict"; var SaveWidget = function (selector, options) { - // TODO: Remove circulat ref. + // TODO: Remove circular ref. this.notebook = undefined; this.selector = selector; this.events = options.events;