mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 01:11:50 +02:00
Roll back changelist 180942763
*** Reason for rollback *** Breaks the FOSS build. We'll reincorporate this change once Closure Rules is properly updated to accommodate it. *** Original change description *** Change all foreach loops in Soy templates to use the for loop syntax Soy supports 2 kinds of loops: foreach- for iterating over items in a collection e.g. {foreach $item in $list}...{/foreach} for - for indexed iteration e.g. {for $i in range(0, 10)}...{/for} The reason Soy has 2 different loops is an accident of history, Soy didn’t use to have a proper grammar for expressions and so the alternate ‘for...range’ syntax was added to make it possible to write indexed loops. As the gramma... *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180961695
This commit is contained in:
parent
d52a701f50
commit
ffcfa283f6
24 changed files with 103 additions and 109 deletions
|
@ -1458,10 +1458,10 @@ def com_google_re2j():
|
|||
def com_google_template_soy():
|
||||
java_import_external(
|
||||
name = "com_google_template_soy",
|
||||
jar_sha256 = "2952b430323a01070d73c7767e34c4030355b9e60c14b5165bebf69b2f6ad927",
|
||||
jar_sha256 = "3c4e61234e9ee9f79411da997e23b201bcf281255469c76d162dac07a67dbb78",
|
||||
jar_urls = [
|
||||
"http://repo1.maven.org/maven2/com/google/template/soy/2018-01-03/soy-2018-01-03.jar",
|
||||
"http://central.maven.org/maven2/com/google/template/soy/2018-01-03/soy-2018-01-03.jar",
|
||||
"http://repo1.maven.org/maven2/com/google/template/soy/2017-06-22/soy-2017-06-22.jar",
|
||||
"http://central.maven.org/maven2/com/google/template/soy/2017-06-22/soy-2017-06-22.jar",
|
||||
],
|
||||
deps = [
|
||||
"@args4j",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue