mediawiki-extensions-Popups/resources/dist
Sam Smith 3d0899c0a0 Remove isLoggingEnabled with Null Object pattern
The statsv change listener depended on both the analytics tracking
function and whether it should log metrics to StatsD. We can simplify
the behaviour of the change listener by passing in a function which
doesn't log metrics to StatsD if such logging is disabled.

The change listener is now more isolated from other components.
Moreover, sharing the analytics tracking function with other components
is simpler as there's no repeated code.

Bug: T163198
Change-Id: Ibf4785fa4c27c1ad4739f02410f57412f56ff481
2017-04-27 14:29:04 +01:00
..
index.js Remove isLoggingEnabled with Null Object pattern 2017-04-27 14:29:04 +01:00
index.js.map Remove isLoggingEnabled with Null Object pattern 2017-04-27 14:29:04 +01:00