Having an array of different types of items:
var items = [{{type:t1,text:"abc"},{type:t2,data:"123"}}]
and view models:
function T1VM(t1) { ... }
function T2VM(t2) { ... }
How can I use the mapping plugin to map items to an observable array of matching view models?