montagejs/montage — pull request #1339 by NV (2013-11-08 06:07:23+00:00)
Title: Repetition switchPath simplest example

https://docs.google.com/a/declarativ.com/document/d/1my69WWql9_DfkEBVrlgzcAVWaAfFReTfWQFufqMrQkA/edit has the following code:

```
"repetition": {
"prototype": "montage/ui/repetition.reel",
"properties": {
"element": {"#": "repetition"}.
"switchPath": "object.isAdmin ? ‘admin’ : ‘user’ "
}
},

```

I made a simple test case from it and doesn’t show anything because contentController is empty. I’m probably missing something obvious, but how do inner components ('admin' and 'user' in my example) provide content for repetition?