I am getting this in chrome (It works fine in firefox). I am unsure exactly
what elm code is leading to this, as it just started in a 5,000 line
application, has anyone seen anything similar?

When this happens the UI just freezes

7elm-dashboard.js:6764 Uncaught TypeError: Cannot read property
'elm_handlers' of undefined
32elm-dashboard.js:7516 Uncaught TypeError: Cannot read property
'childNodes' of undefined
elm-dashboard.js:7617 Uncaught TypeError: Failed to execute 'removeChild'
on 'Node': parameter 1 is not of type 'Node'.
2elm-dashboard.js:7516 Uncaught TypeError: Cannot read property
'childNodes' of undefined

The first line leads to this code

function applyEvents(domNode, eventNode, events)
{
var allHandlers = domNode.elm_handlers || {};

for (var key in events)
{
var handler = allHandlers[key];
var value = events[key];

if (typeof value === 'undefined')
{
domNode.removeEventListener(key, handler);
allHandlers[key] = undefined;
}
else if (typeof handler === 'undefined')
{
var handler = makeEventHandler(eventNode, value);
domNode.addEventListener(key, handler);
allHandlers[key] = handler;
}
else
{
handler.info = value;
}
}

domNode.elm_handlers = allHandlers;
}



-- 
Zach Kessin
Your CRM Link
<http://yourcrm.link/?utm_source=email%20signature&utm_medium=email&utm_campaign=passive>
Twitter: @zkessin <https://twitter.com/zkessin>
Skype: zachkessin
ᐧ

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to