Skip to content

Instantly share code, notes, and snippets.

View alexbezhan's full-sized avatar
🎯
Focusing

Aleksandr Bezhan alexbezhan

🎯
Focusing
View GitHub Profile
@alexbezhan
alexbezhan / Play japid break in for loop
Created May 15, 2012 07:53
Play japid break in for loop
`for Ingredient ingredient: ingredients
`ingredient.product.get();
`if (_index < 4 || ingredients.size() == 4) {
`${ingredient.product.name}
`} else if (_index == 4){
<li>...</li>
`} else {
`break;
`}
`