diff options
Diffstat (limited to 'src/scenario/Future.js')
| -rw-r--r-- | src/scenario/Future.js | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/src/scenario/Future.js b/src/scenario/Future.js index 8853aa3f..f545c721 100644 --- a/src/scenario/Future.js +++ b/src/scenario/Future.js @@ -1,9 +1,9 @@  /**   * A future action in a spec.   * - * @param {String} name of the future action + * @param {string} name of the future action   * @param {Function} future callback(error, result) - * @param {String} Optional. function that returns the file/line number. + * @param {Function} Optional. function that returns the file/line number.   */  angular.scenario.Future = function(name, behavior, line) {    this.name = name; @@ -17,7 +17,7 @@ angular.scenario.Future = function(name, behavior, line) {  /**   * Executes the behavior of the closure.   * - * @param {Function} Callback function(error, result) + * @param {Function} doneFn Callback function(error, result)   */  angular.scenario.Future.prototype.execute = function(doneFn) {    var self = this; @@ -37,6 +37,8 @@ angular.scenario.Future.prototype.execute = function(doneFn) {  /**   * Configures the future to convert it's final with a function fn(value) + * + * @param {Function} fn function(value) that returns the parsed value   */  angular.scenario.Future.prototype.parsedWith = function(fn) {    this.parser = fn; | 
