##// END OF EJS Templates
Update JS docstrings in contents API
Thomas Kluyver -
Show More
@@ -73,8 +73,9 b' define(['
73 *
73 *
74 * @method get
74 * @method get
75 * @param {String} path
75 * @param {String} path
76 * @param {Function} success
76 * @param {Object} options
77 * @param {Function} error
77 * type : 'notebook', 'file', or 'directory'
78 * format: 'text' or 'base64'; only relevant for type: 'file'
78 */
79 */
79 Contents.prototype.get = function (path, options) {
80 Contents.prototype.get = function (path, options) {
80 // We do the call with settings so we can set cache to false.
81 // We do the call with settings so we can set cache to false.
@@ -229,7 +230,6 b' define(['
229 * last_modified: last modified dat
230 * last_modified: last modified dat
230 * @method list_notebooks
231 * @method list_notebooks
231 * @param {String} path The path to list notebooks in
232 * @param {String} path The path to list notebooks in
232 * @param {Object} options including success and error callbacks
233 */
233 */
234 Contents.prototype.list_contents = function(path) {
234 Contents.prototype.list_contents = function(path) {
235 return this.get(path, {type: 'directory'});
235 return this.get(path, {type: 'directory'});
General Comments 0
You need to be logged in to leave comments. Login now