mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
Hygiene: move imports above constants
Make the imports more consistent by moving them to always appear above declarations. Change-Id: Ic1b6786d5daccf71898aeab3cb0ec2b64efe80f7
This commit is contained in:
parent
724d930c00
commit
214795f829
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -2,11 +2,11 @@
|
|||
* @module gateway/reference
|
||||
*/
|
||||
|
||||
import { previewTypes } from '../preview/model';
|
||||
|
||||
const mw = mediaWiki,
|
||||
$ = jQuery;
|
||||
|
||||
import { previewTypes } from '../preview/model';
|
||||
|
||||
/**
|
||||
* @return {Gateway}
|
||||
*/
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { createSettingsDialog } from './settingsDialog';
|
||||
|
||||
/**
|
||||
* @module settingsDialogRenderer
|
||||
*/
|
||||
|
||||
import { createSettingsDialog } from './settingsDialog';
|
||||
|
||||
const $ = jQuery;
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
* @module referencePreview
|
||||
*/
|
||||
|
||||
const mw = mediaWiki;
|
||||
|
||||
import { renderPopup } from '../popup/popup';
|
||||
import { escapeHTML } from '../templateUtil';
|
||||
|
||||
const mw = mediaWiki;
|
||||
|
||||
/**
|
||||
* @param {ext.popups.PreviewModel} model
|
||||
* @return {string} HTML string.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import constants from '../constants';
|
||||
|
||||
/**
|
||||
* @module thumbnail
|
||||
*/
|
||||
|
||||
import constants from '../constants';
|
||||
|
||||
export const SIZES = {
|
||||
portraitImage: {
|
||||
h: 250, // Exact height
|
||||
|
|
Loading…
Reference in a new issue