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:
epriestley
2013-01-25 12:57:17 -08:00
parent 94da7c2033
commit 3093d1663d
66 changed files with 188 additions and 171 deletions

View File

@@ -142,7 +142,7 @@ final class PhabricatorProjectMembersEditController
),
'');
$button = javelin_render_tag(
$button = javelin_tag(
'button',
array(
'class' => 'grey',