Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit d5f128e

Browse files
Hiding Subjects as Observables
1 parent b04b562 commit d5f128e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/animation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
jQueryProto[method](options);
2424

25-
return subject;
25+
return subject.asObservable();
2626
}
2727

2828
/**
@@ -95,7 +95,7 @@
9595

9696
this.animate(properties, options);
9797

98-
return subject;
98+
return subject.asObservable();
9999
};
100100

101101
/**
@@ -131,7 +131,7 @@
131131
subject.onCompleted();
132132
});
133133

134-
return subject;
134+
return subject.asObservable();
135135
};
136136

137137
/**

0 commit comments

Comments
 (0)