##// END OF EJS Templates
notebook: code Readability. Add dismissing symbols...
Matthias BUSSONNIER -
Show More
@@ -253,7 +253,7 b' var IPython = (function (IPython) {'
253 },
253 },
254 dismissAndAppend : function (code)
254 dismissAndAppend : function (code)
255 {
255 {
256 chararr = ['(',')','[',']','+','-','/','\\','.',' '];
256 chararr = '()[]+-/\\. ,=*'.split("");
257 codearr = chararr.map(function(x){return x.charCodeAt(0)});
257 codearr = chararr.map(function(x){return x.charCodeAt(0)});
258 return jQuery.inArray(code, codearr) != -1;
258 return jQuery.inArray(code, codearr) != -1;
259 }
259 }
General Comments 0
You need to be logged in to leave comments. Login now