Skip to content

Instantly share code, notes, and snippets.

@green3g
Last active January 31, 2018 18:38
Show Gist options
  • Select an option

  • Save green3g/bee7fc1d34e8bc2e4dbeb45d649d346c to your computer and use it in GitHub Desktop.

Select an option

Save green3g/bee7fc1d34e8bc2e4dbeb45d649d346c to your computer and use it in GitHub Desktop.
(anonymous) (tasks.js:247) < -- Here is where handler is undefined
wrappedFn (VM25909 register.js:110)
removeEventListener (events.js:32)
events.removeEventListener (make-mutation-event.js:91)
events.removeEventListener (attributes.js:81)
events.removeEventListener (make-mutation-event.js:91)
domEvents.removeEventListener (attr.js:658)
removeEventListener (add-event-compat.js:79)
removeEventListener (add-event-compat.js:79)
(anonymous) (can-stache-bindings.js:257) <! -- here el is the can-slot element , attributeListener is undefined, which eventually causes the error!
(anonymous) (can-component.js:128)
unregister (can-view-nodelist.js:408)
(anonymous) (can-view-nodelist.js:373)
each (each.js:22)
unregisterChildren (can-view-nodelist.js:372)
update (can-view-nodelist.js:143)
makeAndPut (html.js:77)
(anonymous) (html.js:55)
translationHandler (proto-compute.js:529)
dispatchSync (can-event.js:184)
dispatch (batch.js:410)
updateOnChange (proto-compute.js:134)
updater (proto-compute.js:437)
update (can-observation.js:234)
Observation.updateAndNotify (can-observation.js:409)
dispatchSync (can-event.js:184)
flush (batch.js:331)
stop (batch.js:284)
dispatch (batch.js:443)
(anonymous) (can-define.js:401)
(anonymous) (can-define.js:516)
submitForm (ViewModel.js:195) <-- here is where the value isSaving gets set to true
dispatchEvent (ViewModel.js:208)
handler (can-stache-bindings.js:590)
Task.run (zone.js:41)
Zone.runTask (zone.js:183)
(anonymous) (zone.js:260)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment