mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
minimal KernelList
This commit is contained in:
parent
b3c1164798
commit
3b109de563
26
IPython/html/static/tree/js/kernellist.js
Normal file
26
IPython/html/static/tree/js/kernellist.js
Normal 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));
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user