return function(options){
return {
context: {
ready: function(resolver, wire) {
// how to get context of wired spec here?
}
}
};
}
require(["wire!root-spec"], function(mainContext) { ... }