mediawiki-extensions-Visual.../modules
Ori Livneh 495f247570 ve.track: add topic-based analytic event subscription
Replace ve.trackRegisterHandler with two methods: ve.trackSubscribe and
ve.trackSubscribeAll. The former takes an additional string argument 'topic',
which specifies a string prefix on which to match event names. The callback is
only called on matching events. The latter, ve.trackSubscribeAll, binds a
handler to all track events, regardless of topic.

This patch simplifies argument-handling by eliminating variadic ve.track calls
in favor of a single object that encodes all event data. The loose coupling of
track event emitters and subscribers makes relying on unnamed positional
argument conventions brittle; property access works better.

Change-Id: I3b58ce0f48ad3c9b56fcaa9c2226cc79bbcd4051
2013-10-16 10:03:27 -07:00
..
jquery
jquery.uls
oojs
qunit
rangy
syntaxhighlight Use ve.ui.PushButton instead of ve.ui.Button in ve.ui.SyntaxHighlightDialog 2013-10-09 23:25:46 +00:00
unicodejs
ve ve.track: add topic-based analytic event subscription 2013-10-16 10:03:27 -07:00
ve-mw Merge changes I160e55ad,Idd0592d6,I4d403f1b 2013-10-11 17:30:18 +00:00