Fix errors on non-browser env that does not have Element#attachEvent#399
Fix errors on non-browser env that does not have Element#attachEvent#399twada wants to merge 1 commit into
Conversation
…chEvent. Reverts some part of f249711
|
Please provide a full stacktrace.
|
|
@Krinkle @jzaefferer , sorry for my poor information. Here is the full stacktrace on Node.js. The root cause is calling
Agreed. In f249711 you said
And I respect your decision in my patch. However, not calling addEvent on non-browser enviroment is the best solution in this case. I agreed. |
By not having an else case you're masking an error, that's unacceptable.Agreed. Well, your patch removes the If it is okay not to call
|
Now I totally agree with you. So I withdraw this PR now, then open another PR if I can. |
|
Pull-requested again as #401 |
Fixes errors on non-browser environment that does not have Element#attachEvent.
Reverts some part of f249711
Error on Node.js
Error on Rhino