mirror of
https://github.com/google/nomulus.git
synced 2025-05-01 20:47:52 +02:00
*** 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 |
||
---|---|---|
.. | ||
assets | ||
css | ||
epptmpl | ||
externs | ||
forms | ||
html | ||
js | ||
server | ||
soy | ||
BUILD | ||
compile_test.js | ||
conformance_proto.txt | ||
ConsoleConfigModule.java | ||
ConsoleDebug.java | ||
globals.txt | ||
package-info.java |