adress john comments

This commit is contained in:
Matthias Bussonnier 2015-06-01 11:33:28 -07:00
parent a7dc324bba
commit 26c3628185
2 changed files with 3 additions and 5 deletions

View File

@ -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`.\""
]
},
{

View File

@ -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,