Improving never seen error message
Removing repeating "support it" and fixing camelCase method name
This commit is contained in:
4
src/vendor/stubs/EventListener.js
vendored
4
src/vendor/stubs/EventListener.js
vendored
@@ -46,8 +46,8 @@ var EventListener = {
|
||||
if (!el.addEventListener) {
|
||||
if (__DEV__) {
|
||||
console.error(
|
||||
'You are attempting to use addEventlistener ' +
|
||||
'in a browser that does not support it support it.' +
|
||||
'You are attempting to use addEventListener ' +
|
||||
'in a browser that does not support it.' +
|
||||
'This likely means that you will not receive events that ' +
|
||||
'your application relies on (such as scroll).');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user