-
Notifications
You must be signed in to change notification settings - Fork 14
Conversation
@@ -63,5 +63,6 @@ export default function callListener(node: HNode | WNode, method: string, option | |||
if (!listener) { | |||
throw new TypeError(`Cannot resolve listener: "${method}"`); | |||
} | |||
listener.apply(thisArg || resolvedTarget.properties.bind, args); | |||
const bind = resolvedTarget.coreProperties ? resolvedTarget.coreProperties.bind : resolvedTarget.properties.bind; |
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.
bind
is now on coreProperties
for a WNode
and properties
for a HNode
@@ -269,7 +278,8 @@ export class Harness<P extends WidgetProperties, W extends Constructor<WidgetBas | |||
this._projectionRoot = projectionRoot; | |||
this._projectionOptions = { | |||
transitions: cssTransitions, | |||
eventHandlerInterceptor: this._eventHandlerInterceptor.bind(this._widgetHarness) | |||
eventHandlerInterceptor: this._eventHandlerInterceptor.bind(this._widgetHarness), | |||
nodeEvent: new Evented() |
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.
A new projector options added for meta
src/support/assertRender.ts
Outdated
@@ -37,7 +37,7 @@ function throwAssertionError(actual: any, expected: any, message?: string): neve | |||
*/ | |||
const defaultDiffOptions: DiffOptions = { | |||
allowFunctionValues: true, | |||
ignoreProperties: [ 'bind', 'defaultRegistry' ] | |||
ignoreProperties: [ 'bind', 'afterCreate', 'afterUpdate' ] |
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.
Need to look at why these are being added when they weren't expected before the update.
Codecov Report
@@ Coverage Diff @@
## master #64 +/- ##
==========================================
+ Coverage 98.26% 98.27% +<.01%
==========================================
Files 10 10
Lines 692 696 +4
Branches 162 163 +1
==========================================
+ Hits 680 684 +4
Misses 4 4
Partials 8 8
Continue to review full report at Codecov.
|
bb86a5d
to
a77f412
Compare
Type: feature
The following has been addressed in the PR:
Description:
Updates for latest widget core changes.
Depends on widget-core release