-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update adds support for diffing element defenitions with slots #1
base: main
Are you sure you want to change the base?
Conversation
Update moves `npm ci` to `npm i` so as not to require a `package-lock.json`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question for you and one weird dependency problem that needs to get fixed.
updated.innerHTML = tmp.trim() | ||
updated.innerHTML = tmp | ||
|
||
if (this['scrubTemplate']) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious as why you wrote it this way instead of:
if (typeof this. scrubTemplate === 'function') {
@@ -25,15 +25,16 @@ | |||
}, | |||
"homepage": "https://github.com/enhance-dev/enhance-morphdom-mixin#readme", | |||
"devDependencies": { | |||
"@enhance/custom-element": "^1.2.3", | |||
"@enhance/custom-element": "^1.2.3-next.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be pointing to an older release. I had to do a:
npm install "https://github.com/enhance-dev/enhance-custom-element.git#dom-diffing-slots" --save
and then I could get the tests to pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had reverted to v1.2.3
in order to use the latest version of custom element when it was released.
WIP Requires the next version of Custom Element Mixin