>
> 2) All it would provide is "template.add( key, htmlString )" and
> "template.get( key )" returning said htmlString, it wouldn't invoke the
> template engine because that's not yet shared. Also at this time,
> MobileFrontend's version defines this add/get interface as "mw.template"
> which seems too generic (should probably be mw.mobileFrontend.template or
> mw.mfTemplate).


Agreed on this point. I know that Gabriel and I's solution is not quite
ready and no one is using it yet; but we're going to need a custom RL
module anyways at some point down the line. Our templates get compiled into
an intermediate form which RL will deliver -- so it'll eventually have a
LESS style pipeline.

In any case, my solution's templates will not be compatible with your
templates. So; perhaps mw.mustacheTemplate.get or something?
_______________________________________________
Mobile-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mobile-l

Reply via email to