375
回編集
編集の要約なし タグ: モバイル編集 モバイルウェブ編集 |
編集の要約なし タグ: モバイル編集 モバイルウェブ編集 |
||
1行目: | 1行目: | ||
(function () { | (function () { | ||
mw.loader | mw.loader | ||
.using("mobile.startup") | .using("mobile.startup") | ||
15行目: | 10行目: | ||
startup.mediaViewer = { | startup.mediaViewer = { | ||
overlay: function (options) { | overlay: function (options) { | ||
return mw.loader | |||
.then(function (overlay) | .using("mobile.mediaViewer") | ||
.then(function () { | |||
var overlay = mw.mobileFrontend.require("mobile.mediaViewer/ImageOverlay"); | |||
startup.mediaViewer.overlay = overlay; | startup.mediaViewer.overlay = overlay; | ||
overlay(options); | return overlay(options); | ||
}); | }); | ||
} | } |