Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Fixed documentation for Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed Mar 23, 2015
1 parent 69bacd1 commit 0217a14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/modules/promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
/**
* Add new behavior after promise is finished
*
* @param success
* @param fail
* @param {Function} success
* @param {Function} fail
*/
Promise.prototype.then = function(success, fail) {
this.successCallbacks.push(success);
Expand Down Expand Up @@ -58,8 +58,8 @@
/**
* Finish current promise
*
* @param success
* @param result
* @param {Boolean} success
* @param {*} result
*/
Promise.prototype.finish = function(success, result) {
this.isFinished = true;
Expand Down

0 comments on commit 0217a14

Please sign in to comment.