##// END OF EJS Templates
Show class init and call tooltips in notebook....
Bradley M. Froehle -
Show More
@@ -162,9 +162,16 b' var IPython = (function (IPython) {'
162 }
162 }
163
163
164 CodeCell.prototype.finish_tooltip = function (reply) {
164 CodeCell.prototype.finish_tooltip = function (reply) {
165 defstring=reply.definition;
165 // Extract call tip data; the priority is call, init, main.
166 docstring=reply.docstring;
166 defstring = reply.call_def;
167 if(docstring == null){docstring="<empty docstring>"};
167 if (defstring == null) { defstring = reply.init_definition; }
168 if (defstring == null) { defstring = reply.definition; }
169
170 docstring = reply.call_docstring;
171 if (docstring == null) { docstring = reply.init_docstring; }
172 if (docstring == null) { docstring = reply.docstring; }
173 if (docstring == null) { docstring = "<empty docstring>"; }
174
168 name=reply.name;
175 name=reply.name;
169
176
170 var that = this;
177 var that = this;
General Comments 0
You need to be logged in to leave comments. Login now