2014-11-11 12:06:11 +01:00
|
|
|
<!DOCTYPE jsx>
|
|
|
|
<div>
|
2014-11-11 17:19:00 +01:00
|
|
|
<div rt-scope="['a','b','c'] as items">
|
|
|
|
<span rt-repeat="item in items">Item:#{itemIndex} = {item}</span>
|
|
|
|
</div>
|
|
|
|
<span>{typeof (items) == 'undefined'?'items not in scope':'items in scope'}</span>
|
|
|
|
<span>{typeof (item) == 'undefined'?'item not in scope':'item in scope'}</span>
|
2014-11-11 12:06:11 +01:00
|
|
|
|
|
|
|
</div>
|