mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
adress john comments
This commit is contained in:
parent
a7dc324bba
commit
26c3628185
@ -38,7 +38,7 @@
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"The keypress `r` in command mode is by default bound to change the type of a cell ro `raw`. This action will thus be unavaillable from the keyboard now."
|
||||
"\"By default the keypress `r`, while in command mode, changes the type of the selected cell to `raw`. This shortcut is overridden by the code in the previous cell, and thus the action no longer be available via the keypress `r`.\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -1,7 +1,5 @@
|
||||
// Copyright (c) Jupyter Development Team.
|
||||
// Distributed under the terms of the Modified BSD License.
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
var Jupyter = Jupyter || {};
|
||||
@ -9,7 +7,7 @@ var Jupyter = Jupyter || {};
|
||||
var jprop = function(name, module_path){
|
||||
Object.defineProperty(Jupyter, name, {
|
||||
get: function() {
|
||||
console.warn('accessing `'+name+'` is deprecated. Use require("'+module_path+'")');
|
||||
console.warn('accessing `'+name+'` is deprecated. Use `require("'+module_path+'")`');
|
||||
return require(module_path);
|
||||
},
|
||||
enumerable: true,
|
||||
@ -20,7 +18,7 @@ var jprop = function(name, module_path){
|
||||
var jglobal = function(name, module_path){
|
||||
Object.defineProperty(Jupyter, name, {
|
||||
get: function() {
|
||||
console.warn('accessing `'+name+'` is deprecated. Use require("'+module_path+'").'+name);
|
||||
console.warn('accessing `'+name+'` is deprecated. Use `require("'+module_path+'").'+name+'`');
|
||||
return require(module_path)[name];
|
||||
},
|
||||
enumerable: true,
|
||||
|
Loading…
Reference in New Issue
Block a user