Doug Kent

Results 148 comments of Doug Kent

:-) Thanks @EisenbergEffect . First, this is in reference to the [larger question I just posed on stackoverflow](http://stackoverflow.com/questions/39834025/is-it-necessary-to-define-a-template-in-a-separate-file). I'd love to also have an answer to that, and if it...

Yeah, though the question I posed is not answered: Does the composed view have any access, by default (specifying neither model nor view-model), to the containing binding context?

There is still pretty much nothing to explain it or the other related decorators

@EisenbergEffect sorry for the delay in responding. > There is a section on the DI decorators in the DI doc but I'm guess you want more Even when you tell...

@Alexander-Taran Can you please supply a link? I don't see it. @singleton when used as a decorator.

The link you gave above, in the API docs only, describes it as simply a function, implying something vague about a "decorated item". Little clue how it should be used....

> And why would you write that? lol, well, the documentation should be able to tell you :-) It is to tell Aurelia that I want my viewmodel (Foo) to...

Ha, did I really create that many? :-) No, never part of the core team, I just really wanted to feedback to try to promote improvements to the documentation.

What I figured out by running in the debugger, translated into a bit of Typescript: Given your array: `myArray: Array` then: `BindingEngine.collectionObserver(myArray).subscribe` expects you to pass it a function that...