mithril.js icon indicating copy to clipboard operation
mithril.js copied to clipboard

components.md

Open pelonpelon opened this issue 11 years ago • 1 comments

@lhorie in m.component the prefered way to pass the controller object is with the controller function return value, avoiding this, although later in the document you offer the option to use this.

I think components.md should reflect the same philosophy to be consistent. At present the doc uses this throughout.

pelonpelon avatar May 01 '15 17:05 pelonpelon

A PR would be happily merged.

tivac avatar Aug 09 '16 06:08 tivac