In DurandalJS I've created an Activator in my ViewModel which will be bound against a Compose Binding in the View. Trivial example:
var ViewModel = function(){
this.childView = activator.create();
this.activate = function(whyIsThisUndefined){ console.error('Well?' + whyIsThisUndefined); }
}
<div data-bind="compose: { model : theModel, activationData: [1]}"></div>
What am I doing wrong? Why isn't Durandal passing the activation parameters?