google-nomulus/java/google/registry/ui
lukes 7aa070b0a5 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 grammar has improved having the two syntaxes is no longer necessary and so we are eliminating one of them.

As of 4a7373333f or mvn release "2018-01-03" the two forms are actually aliases for one another, so the only difference is the keyword (‘for’ vs ‘foreach’), and while the foreach loop is more popular the ‘for’ terminology is more standard so we are switching everything to that.

LSC: []
Tested:
    TAP sample presubmit queue
    []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=180942763
2018-01-19 14:14:31 -05:00
..
assets Upgrade Nomulus to latest Closure Rules 2016-12-06 11:52:46 -05:00
css Fix missing commas/ambiguous newline in CSS 2017-11-07 17:10:02 -05:00
epptmpl mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
externs Set compatible_with on individual targets rather than use default_compatible_with. 2017-07-10 11:09:26 -04:00
forms Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
html Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
js Use JSON.parse instead of deprecated goog.json.parse. 2017-08-29 17:12:44 -04:00
server Replace com.google.common.base.Predicate with java.util.function.Predicate 2017-12-27 11:21:28 -05:00
soy Change all foreach loops in Soy templates to use the for loop syntax 2018-01-19 14:14:31 -05:00
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
compile_test.js Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
conformance_proto.txt mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
ConsoleConfigModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ConsoleDebug.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
globals.txt Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00