Drop mobile.init dependency
Depends-On: If0de2d74139131be592d8edc2dbf063e9b98860c Bug: T216537 Change-Id: I4b8011f5b73000a01d9cea032a6287b24b10f6ec
This commit is contained in:
parent
933dc0e370
commit
0c5ca96031
|
@ -4,7 +4,7 @@
|
|||
ToggleList = require( '../../components/ToggleList/ToggleList.js' ),
|
||||
downloadPageAction = require( './downloadPageAction.js' ).downloadPageAction,
|
||||
Icon = mobile.Icon,
|
||||
skin = M.require( 'mobile.init/skin' ),
|
||||
skin = mobile.Skin.getSingleton(),
|
||||
/** The top level menu. */
|
||||
toolbarSelector = '.page-actions-menu',
|
||||
/** The secondary overflow submenu component container. */
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
*/
|
||||
module.exports = function () {
|
||||
var M = mw.mobileFrontend,
|
||||
skin = M.require( 'mobile.init/skin' ),
|
||||
mobile = M.require( 'mobile.startup' ),
|
||||
skin = mobile.Skin.getSingleton(),
|
||||
mainMenu = require( './menu.js' ),
|
||||
toast = M.require( 'mobile.startup' ).toast;
|
||||
toast = mobile.toast;
|
||||
|
||||
/**
|
||||
* Close navigation if skin is tapped
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
title = $talk.attr( 'data-title' ),
|
||||
overlayManager = require( 'skins.minerva.scripts' ).overlayManager,
|
||||
// FIXME: This dependency shouldn't exist
|
||||
skin = M.require( 'mobile.init/skin' ),
|
||||
skin = mobile.Skin.getSingleton(),
|
||||
inTalkNamespace = false,
|
||||
pageTitle, talkTitle, talkNs, pageNs;
|
||||
|
||||
|
|
Loading…
Reference in New Issue