Merge "Update VE core submodule to master (0b17a137b)"

This commit is contained in:
jenkins-bot 2019-09-06 00:17:08 +00:00 committed by Gerrit Code Review
commit 19ca9a4768
4 changed files with 18 additions and 4 deletions

View file

@ -12,7 +12,6 @@
"--": [
".jsduck/external.js",
"lib/ve/.jsduck/external.js",
"lib/ve/lib/oojs/oojs.jquery.js",
"lib/ve/lib/oojs-ui/oojs-ui-core.js",
"lib/ve/lib/oojs-ui/oojs-ui-widgets.js",
"lib/ve/lib/oojs-ui/oojs-ui-toolbars.js",

2
lib/ve

@ -1 +1 @@
Subproject commit f2b6e7db993cd1c49f2ecd5c2980a5a1820bdefb
Subproject commit 0b17a137bc64458d1b133acc397d05937becb206

View file

@ -26,7 +26,12 @@ OO.inheritClass( ve.ui.MWWikitextCommandRegistry, ve.ui.CommandRegistry );
/* Methods */
/**
* @inheritdoc
* Get data for a given symbolic name.
*
* See https://doc.wikimedia.org/oojs/master/OO.Registry.html
*
* @param {string} name Symbolic name
* @return {Mixed|undefined} Data associated with symbolic name
*/
ve.ui.MWWikitextCommandRegistry.prototype.lookup = function ( name ) {
// Parent method

View file

@ -34,7 +34,17 @@ OO.inheritClass( ve.ui.MWWikitextDataTransferHandlerFactory, ve.ui.DataTransferH
/* Methods */
/**
* @inheritdoc
* Create an object based on a name.
*
* Name is used to look up the constructor to use, while all additional arguments are passed to the
* constructor directly, so leaving one out will pass an undefined to the constructor.
*
* See https://doc.wikimedia.org/oojs/master/OO.Factory.html
*
* @param {string} name Object name
* @param {...Mixed} [args] Arguments to pass to the constructor
* @return {Object} The new object
* @throws {Error} Unknown object name
*/
ve.ui.MWWikitextDataTransferHandlerFactory.prototype.create = function () {
// Parent method