Support Mustache partials in Mustache template module
authorjdlrobson <jdlrobson@gmail.com>
Sat, 25 Apr 2015 00:12:46 +0000 (17:12 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 22 Dec 2015 01:33:40 +0000 (17:33 -0800)
commit2b7d281f06a3b4880b0536b54aa11affc35aecee
tree7b65b2f6bfd784ea921e6fa422720edce2943ae4
parente144319440e41f4ccd214efd36b25865a91d5ab6
Support Mustache partials in Mustache template module

* Add template partial support which matches the server-side implementation
  and means that we have full mustache support.

https://mustache.github.io/mustache.5.html#Partials

Bug: T97188
Change-Id: Ic752f52669dbffa21c4a514509c3ea1da8ac5d9c
resources/src/mediawiki/mediawiki.template.mustache.js
tests/phpunit/data/templates/conds.mustache [new file with mode: 0644]
tests/qunit/QUnitTestResources.php
tests/qunit/suites/resources/mediawiki/mediawiki.template.mustache.test.js [new file with mode: 0644]