Update src/event/eventdispatcher.js