Small tweak in comment about onlyinclude forcing buffered expansion

Change-Id: Ib324e24c51c97e07e6737bf23f16db07043b69ab
This commit is contained in:
Gabriel Wicke 2012-04-16 15:42:29 +02:00
parent efd4c026ea
commit 1bf8a9e5e1

View file

@ -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;