Skip to content

Commit f17bd6e

Browse files
committed
Merge pull request #168 from matthewwithanm/chainable-install
Always return Raven from install method
2 parents 3def195 + a970921 commit f17bd6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/raven.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ var Raven = {
126126
* @return {Raven}
127127
*/
128128
install: function() {
129-
if (!isSetup()) return;
130-
131-
TK.report.subscribe(handleStackInfo);
129+
if (isSetup()) {
130+
TK.report.subscribe(handleStackInfo);
131+
}
132132

133133
return Raven;
134134
},

0 commit comments

Comments
 (0)