Merge pull request #19092 from rmuir/more_painless_docs

cutover some docs to painless
This commit is contained in:
Robert Muir 2016-06-28 13:40:25 -04:00 committed by GitHub
commit 6d52cec2a0
49 changed files with 1451 additions and 1149 deletions

View file

@ -132,6 +132,15 @@ There are only a few minor differences and add-ons:
Java's https://docs.oracle.com/javase/tutorial/java/nutsandbolts/flow.html[control flow statements] are supported, with the exception
of the `switch` statement.
In addition to Java's `enhanced for` loop, the `for in` syntax from groovy can also be used:
[source,js]
---------------------------------------------------------
for (item : list) {
...
}
---------------------------------------------------------
[float]
[[painless-functions]]
=== Functions