Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
bump dist
Browse files Browse the repository at this point in the history
  • Loading branch information
machenmusik committed Feb 22, 2018
1 parent 473669d commit 3e048e7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion dist/aframe-ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,13 @@
hitAR: function () {
var whichar = this.checkWhichAR();
if (!whichar || !whichar.arDisplay) { return []; }
return whichar.hitAR(this.data.x, this.data.y, this.data.el, this.el);
var x = this.data.x;
var y = this.data.y;
if (arguments.length >= 2) {
x = arguments[0];
y = arguments[1];
}
return whichar.hitAR(x, y, this.data.el, this.el);
},

checkWhichAR: function () {
Expand Down
Loading

0 comments on commit 3e048e7

Please sign in to comment.