Docs: Don't register methods as globals in documentation

This ensures all files belong to a module.
When generating documentation no globals should be present

Bug: T158236
Change-Id: I134f38620fe46db11ba94dbede739f4336e0482c
This commit is contained in:
jdlrobson 2017-05-26 10:35:07 -07:00
parent e21a640002
commit 918a74b1e6
14 changed files with 52 additions and 0 deletions

Binary file not shown.

View file

@ -1,3 +1,7 @@
/**
* @module actionTypes
*/
module.exports = {
BOOT: 'BOOT',
LINK_DWELL: 'LINK_DWELL',

View file

@ -1,3 +1,7 @@
/**
* @module actions
*/
var $ = jQuery,
mw = window.mediaWiki,
actions = {},

View file

@ -1,3 +1,7 @@
/**
* @module changeListener
*/
/**
* @typedef {Function} ext.popups.ChangeListener
* @param {Object} prevState The previous state

View file

@ -1,3 +1,7 @@
/**
* @module changeListeners/eventLogging
*/
var $ = jQuery;
/**

View file

@ -1,3 +1,7 @@
/**
* @module changeListeners/footerLink
*/
var mw = window.mediaWiki,
$ = jQuery;

View file

@ -1,3 +1,7 @@
/**
* @module changeListeners/syncUserSettings
*/
/**
* Creates an instance of the user settings sync change listener.
*

View file

@ -1,3 +1,7 @@
/**
* @module constants
*/
module.exports = {
THUMBNAIL_SIZE: 300 * $.bracketedDevicePixelRatio(),
EXTRACT_LENGTH: 525

View file

@ -1,3 +1,7 @@
/**
* @module getTitle
*/
var mw = window.mediaWiki;
/**

View file

@ -1,3 +1,7 @@
/**
* @module popups
*/
var mw = mediaWiki,
$ = jQuery,
Redux = require( 'redux' ),

View file

@ -1,3 +1,7 @@
/**
* @module previewBehaviour
*/
var mw = window.mediaWiki,
$ = jQuery;

View file

@ -1,3 +1,7 @@
/**
* @module processLinks
*/
var mw = window.mediaWiki,
$ = jQuery,
getTitle = require( './getTitle' );

View file

@ -1,3 +1,7 @@
/**
* @module renderer
*/
var mw = window.mediaWiki,
$ = jQuery,
wait = require( './wait' ),

View file

@ -1,3 +1,7 @@
/**
* @module settingsDialog
*/
var mw = window.mediaWiki,
$ = jQuery;