Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make Pencil pseudo-promise also implement the promise() method

  • Loading branch information...
commit deecaa42b67f923c7cfc22bafe1d82d1661b8c86 1 parent da7a661
Joshua Paine authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  jquery.pencil.js
1  jquery.pencil.js
@@ -33,6 +33,7 @@
33 33 Pencil.prototype.fail = function(){ return this._dfr.fail.apply(this._dfr,arguments); };
34 34 Pencil.prototype.isResolved = function(){ return this._dfr.isResolved.apply(this._dfr,arguments); };
35 35 Pencil.prototype.isRejected = function(){ return this._dfr.isRejected.apply(this._dfr,arguments); };
  36 + Pencil.prototype.promise = function(){ return this._dfr.promise(); };
36 37
37 38 $.Pencil = Pencil;
38 39 })(jQuery);

0 comments on commit deecaa4

Please sign in to comment.
Something went wrong with that request. Please try again.