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:
Stephen Niedzielski 2019-01-24 08:33:29 -07:00
parent 724d930c00
commit 214795f829
5 changed files with 8 additions and 8 deletions

Binary file not shown.

View file

@ -2,11 +2,11 @@
* @module gateway/reference
*/
import { previewTypes } from '../preview/model';
const mw = mediaWiki,
$ = jQuery;
import { previewTypes } from '../preview/model';
/**
* @return {Gateway}
*/

View file

@ -1,9 +1,9 @@
import { createSettingsDialog } from './settingsDialog';
/**
* @module settingsDialogRenderer
*/
import { createSettingsDialog } from './settingsDialog';
const $ = jQuery;
/**

View file

@ -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.

View file

@ -1,9 +1,9 @@
import constants from '../constants';
/**
* @module thumbnail
*/
import constants from '../constants';
export const SIZES = {
portraitImage: {
h: 250, // Exact height