changeset in labs/bespinclient: Fix documentation for the buffer...

0 views
Skip to first unread message

Patrick Walton

unread,
Sep 20, 2010, 8:56:01 PM9/20/10
to bespin-...@googlegroups.com
changeset 7a747cc4d589 in /repo/hg/mozilla/labs/bespinclient
details: http://hg.mozilla.org/labs/bespinclient?cmd=changeset;node=7a747cc4d589
description:
Fix documentation for the buffer's saveAs method

diffstat:

plugins/supported/text_editor/models/buffer.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff --git a/plugins/supported/text_editor/models/buffer.js b/plugins/supported/text_editor/models/buffer.js
--- a/plugins/supported/text_editor/models/buffer.js
+++ b/plugins/supported/text_editor/models/buffer.js
@@ -142,8 +142,7 @@ exports.Buffer.prototype = {
* Saves the contents of this buffer to a new file, and updates the file
* field of this buffer to point to the result.
*
- * @param dir{Directory} The directory to save in.
- * @param filename{string} The name of the file in the directory.
+ * @param {File} newFile The pathname to save to, as a File object.
* @return A promise to return the newly-saved file.
*/
saveAs: function(newFile) {

Reply all
Reply to author
Forward
0 new messages