Permalink
Browse files

Show proper default on AWS.FileSystemCredentials constructor

  • Loading branch information...
1 parent 99f6bfd commit cd61ab2d7972f52154bad75365d93c835a6c809a @lsegal lsegal committed Dec 4, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/config.js
View
9 lib/config.js
@@ -291,11 +291,12 @@ AWS.Credentials = inherit({
AWS.FileSystemCredentials = inherit(AWS.Credentials, {
/**
- * Creates a new FileSystemCredentials object from a filename
+ * @overload AWS.FileSystemCredentials(filename, initialCredentials=null)
+ * Creates a new FileSystemCredentials object from a filename
*
- * @param filename [String] the path on disk to the JSON file to load.
- * @param initialCredentials [String] (null) default credentials to load
- * if not specified in the file.
+ * @param filename [String] the path on disk to the JSON file to load.
+ * @param initialCredentials [String] default credentials to load
+ * if not specified in the file.
*/
constructor: function FileSystemCredentials(filename, initialCredentials) {
this.filename = filename;

0 comments on commit cd61ab2

Please sign in to comment.