Skip to content

Commit

Permalink
Update dom-utils for better shadow DOM support
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Sep 18, 2016
1 parent ca61e5a commit fd5bb02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"homepage": "https://github.com/googleanalytics/autotrack#readme",
"dependencies": {
"debounce": "^1.0.0",
"dom-utils": "^0.3.0",
"dom-utils": "^0.3.1",
"object-assign": "^4.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/outbound-form-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function stopTracking() {
*/
function notSupportedInBrowser() {
return browser.execute(function() {
return !Element.prototype.attachShadow;
return !Event.prototype.deepPath;
}).value;
}

Expand Down
2 changes: 1 addition & 1 deletion test/outbound-link-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ function stopTracking() {
*/
function browserSupportsShadowDom() {
return browser.execute(function() {
return Element.prototype.attachShadow;
return Event.prototype.deepPath;
}).value;
}

Expand Down

0 comments on commit fd5bb02

Please sign in to comment.