minimal KernelList

This commit is contained in:
Paul Ivanov 2014-02-20 17:37:46 -08:00
parent b3c1164798
commit 3b109de563
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
//----------------------------------------------------------------------------
// Copyright (C) 2014 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
//============================================================================
// Running Kernels List
//============================================================================
var IPython = (function (IPython) {
"use strict";
var KernelList = function (selector, options) {
IPython.NotebookList.call(this, selector, options);
};
KernelList.prototype = IPython.NotebookList.prototype;
IPython.KernelList = KernelList;
return IPython;
}(IPython));

View File

@ -24,6 +24,7 @@ $(document).ready(function () {
};
IPython.notebook_list = new IPython.NotebookList('#notebook_list', opts);
IPython.cluster_list = new IPython.ClusterList('#cluster_list', opts);
IPython.kernel_list = new IPython.KernelList('#kernel_list', opts);
IPython.login_widget = new IPython.LoginWidget('#login_widget', opts);
var interval_id=0;