Fix ContextItem documentation

* Be more specific about the type of context which a
  context item belongs to.
* Make grammar clearer.

Change-Id: I6f7abc777c378be2f1ac3f8db678363664d46ccd
This commit is contained in:
Ed Sanders 2023-07-10 14:33:51 +01:00
parent e64b976b69
commit 149e5db0a0
3 changed files with 6 additions and 6 deletions

View file

@ -10,8 +10,8 @@
* @class
* @extends ve.ui.MWLatexContextItem
*
* @param {ve.ui.Context} context Context item is in
* @param {ve.dm.Model} model Model item is related to
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} config Configuration options
*/
ve.ui.MWChemContextItem = function VeUiMWChemContextItem() {

View file

@ -12,8 +12,8 @@
* @class
* @extends ve.ui.LinearContextItem
*
* @param {ve.ui.Context} context Context item is in
* @param {ve.dm.Model} model Model item is related to
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} config Configuration options
*/
ve.ui.MWLatexContextItem = function VeUiMWLatexContextItem() {

View file

@ -10,8 +10,8 @@
* @class
* @extends ve.ui.MWLatexContextItem
*
* @param {ve.ui.Context} context Context item is in
* @param {ve.dm.Model} model Model item is related to
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} config Configuration options
*/
ve.ui.MWMathContextItem = function VeUiMWMathContextItem() {