mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Ori Livneh 753d87e618 Tee tracked events to MediaWiki's mw.track
When running in the context of MediaWiki, VisualEditor should tee its event
stream to MediaWiki's main event bus, mw.track(), so that MediaWiki event
subscribers have a unified interface for subscribing to events. Each
VisualEditor event topic is prefixed with 've.'

To test this patch, you can use this snippet:

  mw.trackSubscribe( 've', function ( topic, data ) {
    console.log( this, topic, data );
  } );

Change-Id: I6b3f10b0dd0aa7fa47c3b35e2fc554622960ce52
2014-01-16 13:34:20 -08:00
..
ve.init.mw.MobileViewTarget.js Added indicators to toolbars 2014-01-13 18:32:01 -08:00
ve.init.mw.ViewPageTarget.init.js Tee tracked events to MediaWiki's mw.track 2014-01-16 13:34:20 -08:00
ve.init.mw.ViewPageTarget.js Keyboard shortcuts MW integration 2014-01-15 14:04:06 -08:00