Rename the two "template" variables to t1 and t2.
authorMike Taylor <mike@indexdata.com>
Tue, 10 Jun 2014 15:47:29 +0000 (16:47 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 10 Jun 2014 15:47:29 +0000 (16:47 +0100)
commit88d2ed49777fe955226df0b4cbe509aa042e07e6
treedb8b2f37e6cf9b5ca52614d683be3c2ebaff4cde
parentd552142db760c1a3bd7b17453d4e8065af569a74
Rename the two "template" variables to t1 and t2.
t2 is now precomputed, rather than once each time through the loop.
Crucially, t2 now tries to load a field-specific facet template before
backing down to the generic one.
src/mkws-widget-termlists.js