Skip to content

Commit 289d967

Browse files
committed
Actually release 2.2.1
1 parent 1262d28 commit 289d967

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/vue-clickaway.common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ function bind(el, binding) {
4444
}, 0);
4545

4646
el[HANDLER] = function(ev) {
47-
// @NOTE: this test used to be `el.containts`, but working with path is better,
47+
// @NOTE: this test used to be just `el.containts`, but working with path is better,
4848
// because it tests whether the element was there at the time of
4949
// the click, not whether it is there now, that the event has arrived
5050
// to the top.
5151
// @NOTE: `.path` is non-standard, the standard way is `.composedPath()`
52-
let path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);
52+
var path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);
5353
if (initialMacrotaskEnded && (path ? path.indexOf(el) < 0 : !el.contains(ev.target))) {
5454
return callback(ev);
5555
}

dist/vue-clickaway.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@
4343
}, 0);
4444

4545
el[HANDLER] = function(ev) {
46-
// @NOTE: this test used to be `el.containts`, but working with path is better,
46+
// @NOTE: this test used to be just `el.containts`, but working with path is better,
4747
// because it tests whether the element was there at the time of
4848
// the click, not whether it is there now, that the event has arrived
4949
// to the top.
5050
// @NOTE: `.path` is non-standard, the standard way is `.composedPath()`
51-
let path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);
51+
var path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);
5252
if (initialMacrotaskEnded && (path ? path.indexOf(el) < 0 : !el.contains(ev.target))) {
5353
return callback(ev);
5454
}

dist/vue-clickaway.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)