docs: function initEvents (vm) {
  	  vm._events = Object.create(null);
  	  // init parent attached events
  	  var listeners = vm.$options._parentListeners;
  	  var on = bind$1(vm.$on, vm);
  	  var off = bind$1(vm.$off, vm);
  	  vm._updateListeners = function (listeners, oldListeners) {
  	    updateListeners(listeners, oldListeners || {}, on, off, vm);
  	  };
  	  if (listeners) {
  	    vm._updateListeners(listeners);
  	  }
  	}