dist/js/router/index.js
function updateDOMListeners (oldVnode, vnode) {
	  if (!oldVnode.data.on && !vnode.data.on) {
	    return
	  }
	  var on = vnode.data.on || {};
	  var oldOn = oldVnode.data.on || {};
	  var add = vnode.elm._v_add || (vnode.elm._v_add = function (event, handler, capture) {
	    vnode.elm.addEventListener(event, handler, capture);
	  });
	  var remove = vnode.elm._v_remove || (vnode.elm._v_remove = function (event, handler) {
	    vnode.elm.removeEventListener(event, handler);
	  });
	  updateListeners(on, oldOn, add, remove, vnode.context);
	}
function updateDOMListeners (oldVnode, vnode) {
	  if (!oldVnode.data.on && !vnode.data.on) {
	    return
	  }
	  var on = vnode.data.on || {};
	  var oldOn = oldVnode.data.on || {};
	  var add = vnode.elm._v_add || (vnode.elm._v_add = function (event, handler, capture) {
	    vnode.elm.addEventListener(event, handler, capture);
	  });
	  var remove = vnode.elm._v_remove || (vnode.elm._v_remove = function (event, handler) {
	    vnode.elm.removeEventListener(event, handler);
	  });
	  updateListeners(on, oldOn, add, remove, vnode.context);
	}
function updateDOMListeners ( oldVnode , vnode ) { if ( ! oldVnode . data . on && ! vnode . data . on ) { return } var on = vnode . data . on || { } ; var oldOn = oldVnode . data . on || { } ; var add = vnode . elm . _v_add || ( vnode . elm . _v_add = function ( event , handler , capture ) { vnode . elm . addEventListener ( event , handler , capture ) ; } ) ; var remove = vnode . elm . _v_remove || ( vnode . elm . _v_remove = function ( event , handler ) { vnode . elm . removeEventListener ( event , handler ) ; } ) ; updateListeners ( on , oldOn , add , remove , vnode . context ) ; }
skip type checking this file because we need to attach private properties to elements
skip type checking this file because we need to attach private properties to elements