mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Cleaning up UI for command pallete and default group
This commit is contained in:
parent
8e901e8d0d
commit
78b1cccede
@ -10,7 +10,7 @@ define(function(require){
|
||||
/**
|
||||
* Humanize the action name to be consumed by user.
|
||||
* internaly the actions anem are of the form
|
||||
* <namespace>.<description-with-dashes>
|
||||
* <namespace>:<description-with-dashes>
|
||||
* we drop <namesapce> and replace dashes for space.
|
||||
*/
|
||||
var humanize_action_id = function(str) {
|
||||
@ -126,9 +126,6 @@ define(function(require){
|
||||
var action_id = actions[i];
|
||||
var action = notebook.keyboard_manager.actions.get(action_id);
|
||||
var group = action_id.split(':')[0];
|
||||
if (group === 'ipython') {
|
||||
group = 'built-in';
|
||||
}
|
||||
|
||||
src[group] = src[group] || {
|
||||
data: [],
|
||||
|
Loading…
Reference in New Issue
Block a user