mkws.defaultTemplate simply returns null when there is no template,
authorMike Taylor <mike@indexdata.com>
Tue, 10 Jun 2014 15:45:08 +0000 (16:45 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 10 Jun 2014 15:45:08 +0000 (16:45 +0100)
commit0d381791dd8bd101ded339e2f832afb3d0ef6260
treeffcb3dac4df01d300a9d7c94d145a80c94dc85c0
parent6f59bb0256441ab1d48816a5524b8666dc799ff7
mkws.defaultTemplate simply returns null when there is no template,
rather than throwing an error. This allows clever calling code to back
off along a sequence of attempted template names.
src/mkws-core.js