Tweak readMore.minerva to reflect upstream changes

As of I6a5b43a, WatchstarPageList requires that options.api be an
instance of mw.Api and fails, loudly, when it isn't passed.

Bug: T117467
Change-Id: I7394dea5ab026de1a6709c56d8db4ff72788b59d
This commit is contained in:
Sam Smith 2015-11-02 19:55:19 +00:00
parent 697bd7dfec
commit 816003cb48

View file

@ -36,7 +36,9 @@
// logs the event, has a sensible default value for
// MobileWebWatching.funnel, but it's overwritten
// by WatchstarPageList.
funnel: MOBILE_WEB_WATCHING_FUNNEL
funnel: MOBILE_WEB_WATCHING_FUNNEL,
api: new mw.Api()
} );
$readMore = $( '<aside class="ra-read-more post-content"></aside>' );