These are not needed to help define mw.loader or to process RLQ,
as such, it does not need to be in the critical path. This can
instead download as part of mediawiki.base which loads concurrently
with regular modules (but will execute first).
Change-Id: I43f21706206aa7cb6fb779c68325623e07724125
* @singleton
*/
+ /**
+ * Empty object for third-party libraries, for cases where you don't
+ * want to add a new global, or the global is bad and needs containment
+ * or wrapping.
+ *
+ * @property
+ */
+ mw.libs = {};
+
+ // OOUI widgets specific to MediaWiki
+ mw.widgets = {};
+
/**
* @inheritdoc mw.inspect#runReports
* @method
*/
config: new Map( $VARS.wgLegacyJavaScriptGlobals ),
- /**
- * Empty object for third-party libraries, for cases where you don't
- * want to add a new global, or the global is bad and needs containment
- * or wrapping.
- *
- * @property
- */
- libs: {},
-
/**
* Store for messages.
*
* @property {mw.Map}
*/
tokens: new Map()
- },
-
- // OOUI widgets specific to MediaWiki
- widgets: {}
+ }
};