diff options
| author | Misko Hevery | 2011-11-09 21:18:34 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:16 -0800 | 
| commit | f0fa5e63762e80fd4ee60ff6d365fca5f886292a (patch) | |
| tree | 7c294714922118c49ec5f37bcd8b2733f13d1e7d /src/scenario/SpecRunner.js | |
| parent | c283bf6035566aa8ff3178676a133de6878b5d1b (diff) | |
| download | angular.js-f0fa5e63762e80fd4ee60ff6d365fca5f886292a.tar.bz2 | |
doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK module
Diffstat (limited to 'src/scenario/SpecRunner.js')
| -rw-r--r-- | src/scenario/SpecRunner.js | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/src/scenario/SpecRunner.js b/src/scenario/SpecRunner.js index 0d6274a4..eacf13a8 100644 --- a/src/scenario/SpecRunner.js +++ b/src/scenario/SpecRunner.js @@ -18,7 +18,7 @@ angular.scenario.SpecRunner = function() {   * based on the describe nesting.   *   * @param {Object} spec A spec object - * @param {Function} specDone function that is called when the spec finshes. Function(error, index) + * @param {function()} specDone function that is called when the spec finshes. Function(error, index)   */  angular.scenario.SpecRunner.prototype.run = function(spec, specDone) {    var self = this; @@ -85,8 +85,8 @@ angular.scenario.SpecRunner.prototype.run = function(spec, specDone) {   * Note: Do not pass line manually. It happens automatically.   *   * @param {string} name Name of the future - * @param {Function} behavior Behavior of the future - * @param {Function} line fn() that returns file/line number + * @param {function()} behavior Behavior of the future + * @param {function()} line fn() that returns file/line number   */  angular.scenario.SpecRunner.prototype.addFuture = function(name, behavior, line) {    var future = new angular.scenario.Future(name, angular.bind(this, behavior), line); @@ -100,8 +100,8 @@ angular.scenario.SpecRunner.prototype.addFuture = function(name, behavior, line)   * Note: Do not pass line manually. It happens automatically.   *   * @param {string} name Name of the future - * @param {Function} behavior Behavior of the future - * @param {Function} line fn() that returns file/line number + * @param {function()} behavior Behavior of the future + * @param {function()} line fn() that returns file/line number   */  angular.scenario.SpecRunner.prototype.addFutureAction = function(name, behavior, line) {    var self = this;  | 
