Generate partials via callback
authorTim Otten <totten@civicrm.org>
Thu, 12 Dec 2019 23:48:42 +0000 (15:48 -0800)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:20 +0000 (19:13 -0700)
commitaa6abb776c751c6215695d7e5fd638923b73b337
treef17e52006dd4f2abac9ef2ced387041947224eaa
parent905b0fd51c30e1431b510e5e70246993f160f8dd
Generate partials via callback

Technically, it's two changes:

1. Changing `snippets` to `partialsCallback` to reduce the amount of upfront IO/memory.
2. Changing the mocked-up filename to start with `~/theAngModule/`. So modules implemented in
   afform look more look other modules. Makes it work with `cv ang:html:list` and `cv ang:html:show`.
ext/afform/core/afform.php