Add javelin_tag(), convert easy callsites
Summary: - Implements `javelin_tag()`, which is `javelin_render_tag()` on top of `phutil_tag()` instead of `phutil_render_tag()`. - Manually converts all or almost all of the trivial callsites. Test Plan: - Site does not seem any more broken than before. Reviewers: vrana Reviewed By: vrana CC: aran Differential Revision: https://secure.phabricator.com/D4639
This commit is contained in:
@@ -47,13 +47,13 @@ final class PhabricatorCountdownViewController
|
||||
<th>Seconds</th>
|
||||
</tr>
|
||||
<tr>'.
|
||||
javelin_render_tag('td',
|
||||
javelin_tag('td',
|
||||
array('sigil' => 'phabricator-timer-days'), '').
|
||||
javelin_render_tag('td',
|
||||
javelin_tag('td',
|
||||
array('sigil' => 'phabricator-timer-hours'), '').
|
||||
javelin_render_tag('td',
|
||||
javelin_tag('td',
|
||||
array('sigil' => 'phabricator-timer-minutes'), '').
|
||||
javelin_render_tag('td',
|
||||
javelin_tag('td',
|
||||
array('sigil' => 'phabricator-timer-seconds'), '').
|
||||
'</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user