Skip to content
This repository was archived by the owner on Feb 17, 2021. It is now read-only.

Commit 2191c03

Browse files
author
Gordon Koo
committed
adding some return this's
1 parent 28c1a1e commit 2191c03

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

js/hopscotch.js

+2
Original file line numberDiff line numberDiff line change
@@ -1188,6 +1188,7 @@
11881188
if (cb) {
11891189
callbacks[evtType].push({ cb: cb, fromTour: isTourCb });
11901190
}
1191+
return this;
11911192
};
11921193

11931194
/**
@@ -1217,6 +1218,7 @@
12171218
callbacks[evtType] = [];
12181219
}
12191220
}
1221+
return this;
12201222
};
12211223

12221224
/**

js/hopscotch_jquery.js

+2
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@
10541054
if (cb) {
10551055
callbacks[evtType].push({ cb: cb, fromTour: isTourCb });
10561056
}
1057+
return this;
10571058
};
10581059

10591060
/**
@@ -1083,6 +1084,7 @@
10831084
callbacks[evtType] = [];
10841085
}
10851086
}
1087+
return this;
10861088
};
10871089

10881090
/**

0 commit comments

Comments
 (0)