##// END OF EJS Templates
Write a plugin to handle private function automatically.
Jonathan Frederic -
Show More
@@ -0,0 +1,12 b''
1 exports.handlers = {
2 newDoclet: function(e) {
3 // e.doclet will refer to the newly created doclet
4 // you can read and modify properties of that doclet if you wish
5 if (typeof e.doclet.name === 'string') {
6 if (e.doclet.name[0] == '_') {
7 console.log('Private method "' + e.doclet.longname + '" not documented.');
8 e.doclet.memberof = '<anonymous>';
9 }
10 }
11 }
12 }; No newline at end of file
@@ -336,7 +336,7 b' define(['
336 }
336 }
337 }
337 }
338 });
338 });
339 }
339 };
340
340
341 /**
341 /**
342 * Set the dirty flag, and trigger the set_dirty.Notebook event
342 * Set the dirty flag, and trigger the set_dirty.Notebook event
@@ -921,7 +921,6 b' define(['
921 * Insert an element at given cell index.
921 * Insert an element at given cell index.
922 * return true if everything whent fine.
922 * return true if everything whent fine.
923 *
923 *
924 * @private
925 * @param {HTMLElement} element - a cell element
924 * @param {HTMLElement} element - a cell element
926 * @param {integer} [index] a valid index where to inser cell
925 * @param {integer} [index] a valid index where to inser cell
927 **/
926 **/
@@ -1101,7 +1100,6 b' define(['
1101
1100
1102 /**
1101 /**
1103 * warn about heading cells being removed
1102 * warn about heading cells being removed
1104 * @private
1105 */
1103 */
1106 Notebook.prototype._warn_heading = function () {
1104 Notebook.prototype._warn_heading = function () {
1107 dialog.modal({
1105 dialog.modal({
@@ -1543,7 +1541,6 b' define(['
1543 /**
1541 /**
1544 * Once a session is started, link the code cells to the kernel and pass the
1542 * Once a session is started, link the code cells to the kernel and pass the
1545 * comm manager to the widget manager
1543 * comm manager to the widget manager
1546 * @private
1547 */
1544 */
1548 Notebook.prototype._session_started = function (){
1545 Notebook.prototype._session_started = function (){
1549 this._session_starting = false;
1546 this._session_starting = false;
@@ -1557,7 +1554,6 b' define(['
1557 }
1554 }
1558 };
1555 };
1559 /**
1556 /**
1560 * @private
1561 */
1557 */
1562 Notebook.prototype._session_start_failed = function (jqxhr, status, error){
1558 Notebook.prototype._session_start_failed = function (jqxhr, status, error){
1563 this._session_starting = false;
1559 this._session_starting = false;
@@ -1927,7 +1923,6 b' define(['
1927 * update the autosave interval based on how long the last save took
1923 * update the autosave interval based on how long the last save took
1928 *
1924 *
1929 * @param {integer} timestamp - when the save request started
1925 * @param {integer} timestamp - when the save request started
1930 * @private
1931 */
1926 */
1932 Notebook.prototype._update_autosave_interval = function (start) {
1927 Notebook.prototype._update_autosave_interval = function (start) {
1933 var duration = (new Date().getTime() - start);
1928 var duration = (new Date().getTime() - start);
@@ -3,7 +3,8 b''
3 "parser": "gfm"
3 "parser": "gfm"
4 },
4 },
5 "plugins": [
5 "plugins": [
6 "plugins/markdown"
6 "plugins/markdown" ,
7 "jsdoc_plugin.js"
7 ],
8 ],
8 "source": {
9 "source": {
9 "include": [
10 "include": [
General Comments 0
You need to be logged in to leave comments. Login now