Underscore example:
_.each([1, 2, 3], function(num) { alert(num); });| DELETE syntest | |
| PUT syntest | |
| { | |
| "mappings": { | |
| "article": { | |
| "properties": { | |
| "text": { | |
| "type": "string", | |
| "analyzer": "syn_text" | |
| } |
| element = page.find("div.example") | |
| p element.native.attribute('outerHTML') |