wilsonpage / fastdom

Eliminates layout thrashing by batching DOM measurement and mutation tasks
6.83k stars 240 forks source link

Add simple way to pass context to callbacks #1

Closed wilsonpage closed 11 years ago

wilsonpage commented 11 years ago

Sometimes the context that callbacks get called on is important. Suggested API:

dom.read(this.method, this);