mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
JSDoc: {Mixed} -> {any}
Change-Id: I457475a9c436c40a384675027c052294e6b1305d
This commit is contained in:
parent
c05851aa4f
commit
673dea4852
|
@ -46,8 +46,6 @@
|
|||
"mw.libs.ve."
|
||||
],
|
||||
"linkMap": {
|
||||
"Mixed": "#",
|
||||
|
||||
"VisualEditorOverlay": "https://doc.wikimedia.org/MobileFrontend/master/js/js/VisualEditorOverlay.html",
|
||||
|
||||
"Array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array",
|
||||
|
|
|
@ -99,8 +99,8 @@ ve.ce.MWGalleryNode.prototype.onUpdate = function () {
|
|||
* Handle attribute changes to keep the live HTML element updated.
|
||||
*
|
||||
* @param {string} key Attribute name
|
||||
* @param {Mixed} from Old value
|
||||
* @param {Mixed} to New value
|
||||
* @param {any} from Old value
|
||||
* @param {any} to New value
|
||||
*/
|
||||
ve.ce.MWGalleryNode.prototype.onAttributeChange = function ( key, from, to ) {
|
||||
var defaults = mw.config.get( 'wgVisualEditorConfig' ).galleryOptions;
|
||||
|
|
|
@ -231,7 +231,7 @@ ve.init.mw.DesktopArticleTarget.prototype.setContainer = function ( $container )
|
|||
/**
|
||||
* Verify that a PopStateEvent correlates to a state we created.
|
||||
*
|
||||
* @param {Mixed} popState From PopStateEvent#state
|
||||
* @param {any} popState From PopStateEvent#state
|
||||
* @return {boolean}
|
||||
*/
|
||||
ve.init.mw.DesktopArticleTarget.prototype.verifyPopState = function ( popState ) {
|
||||
|
|
|
@ -31,7 +31,7 @@ OO.inheritClass( ve.ui.MWWikitextCommandRegistry, ve.ui.CommandRegistry );
|
|||
* See https://doc.wikimedia.org/oojs/master/OO.Registry.html
|
||||
*
|
||||
* @param {string} name Symbolic name
|
||||
* @return {Mixed|undefined} Data associated with symbolic name
|
||||
* @return {any|undefined} Data associated with symbolic name
|
||||
*/
|
||||
ve.ui.MWWikitextCommandRegistry.prototype.lookup = function ( name ) {
|
||||
// Parent method
|
||||
|
|
|
@ -41,7 +41,7 @@ OO.inheritClass( ve.ui.MWWikitextDataTransferHandlerFactory, ve.ui.DataTransferH
|
|||
* See https://doc.wikimedia.org/oojs/master/OO.Factory.html
|
||||
*
|
||||
* @param {string} name Object name
|
||||
* @param {...Mixed} [args] Arguments to pass to the constructor
|
||||
* @param {...any} [args] Arguments to pass to the constructor
|
||||
* @return {Object} The new object
|
||||
* @throws {Error} Unknown object name
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue