mirror of
https://github.com/google/nomulus.git
synced 2025-07-20 01:35:59 +02:00
Remove unused params being passed to Soy templates
Soy is going to disallow passing params that are unused in the called template and its dependencies. This CL removes these unused params from the call sites. Passing an unused param might indicate a bug such as having a typo in an optional parameter. Please review this CL carefully and edit the code in Critique if this is the case. More information: [] Tested: TAP --sample for global presubmit queue [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180571605
This commit is contained in:
parent
3f7cd00882
commit
0aab48eb9f
1 changed files with 0 additions and 2 deletions
|
@ -93,13 +93,11 @@
|
|||
{call .postalInfo data="all"}
|
||||
{param localized: index($pi) == 1 /}
|
||||
{param item: $pi/}
|
||||
{param itemPrefix: 'contact:' /}
|
||||
{param namePrefix: 'contact:postalInfo[' + index($pi) + '].contact:' /}
|
||||
{/call}
|
||||
{/foreach}
|
||||
{else}
|
||||
{call .postalInfo data="all"}
|
||||
{param prefix: 'contact:' /}
|
||||
{param namePrefix: 'contact:postalInfo[0].contact:' /}
|
||||
{/call}
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue