mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Small tweak in comment about onlyinclude forcing buffered expansion
Change-Id: Ib324e24c51c97e07e6737bf23f16db07043b69ab
This commit is contained in:
parent
efd4c026ea
commit
1bf8a9e5e1
|
@ -10,6 +10,8 @@ var TokenCollector = require( './ext.util.TokenCollector.js' ).TokenCollector;
|
|||
/**
|
||||
* OnlyInclude sadly forces synchronous template processing, as it needs to
|
||||
* hold onto all tokens in case an onlyinclude block is encountered later.
|
||||
* This can fortunately be worked around by caching the tokens after
|
||||
* onlyinclude processing (which is a good idea anyway).
|
||||
*/
|
||||
function OnlyInclude( manager, isInclude ) {
|
||||
this.manager = manager;
|
||||
|
|
Loading…
Reference in a new issue