This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

bug fix for Deferred.prototype.toObservable

  • Loading branch information...
kae committed Jan 2, 2012
1 parent 2c10057 commit bdbcac4eeca82ddf9831a21e0e9dfb83c1115645
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rx.jquery.js
View
@@ -26,7 +26,7 @@
$.Deferred.prototype.toObservable = function () {
var subject = new asyncSubject();
- parent.done(function () {
+ this.done(function () {
subject.onNext(slice.call(arguments));
subject.onCompleted();
}).fail(function () {

0 comments on commit bdbcac4

Please sign in to comment.