Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Merge pull request #213 from webcomponents/fix-190
Browse files Browse the repository at this point in the history
Fixes #190
  • Loading branch information
Steve Orvell authored Mar 6, 2018
2 parents 92b8adb + 39914dd commit 7d8b60e
Show file tree
Hide file tree
Showing 9 changed files with 871 additions and 948 deletions.
1,605 changes: 741 additions & 864 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
},
"homepage": "https://webcomponents.org/polyfills",
"devDependencies": {
"@webcomponents/custom-elements": "^1.0.6",
"@webcomponents/shadycss": "^1.1.0",
"@webcomponents/template": "^1.2.0",
"@webcomponents/custom-elements": "^1.0.8",
"@webcomponents/shadycss": "^1.1.1",
"@webcomponents/template": "^1.2.2",
"@webcomponents/webcomponents-platform": "^1.0.0",
"eslint": "^3.4.0",
"eslint-plugin-html": "^2.0.0",
"google-closure-compiler": "^20170806.0.0",
"gulp": "^3.8.8",
"gulp-rename": "^1.2.2",
"gulp-rollup": "^2.15.0",
"gulp-rollup": "^2.16.2",
"gulp-size": "^2.1.0",
"gulp-sourcemaps": "^2.4.1",
"web-component-tester": "^6.4.1"
"gulp-sourcemaps": "^2.6.4",
"web-component-tester": "^6.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion shadydom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion shadydom.min.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/patch-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ export function addEventListener(type, fnOrObj, optionsOrCapture) {
};
// Store the wrapper information.
fnOrObj[eventWrappersName].push({
node: this,
// note: use target here which is either a shadowRoot
// (when the host element is proxy'ing the event) or this element
node: target,
type: type,
capture: capture,
once: once,
Expand Down
Loading

0 comments on commit 7d8b60e

Please sign in to comment.