Read more

Even more dojo.forEach() - string as a callback

After Petes tasty cookie yesterday, I have a couple of more useful bites of dojo goodness.
Besides passing a complete callback to dojo.forEach() you can also use a string which gets converted into a callback function internally, this is pretty handy for mini tasks.
Read the rest of this entry »

Read more

forEach goodness.

This morning, I was again reminded about something I am continually forgetting and it’s worth documenting, so here goes:

Read the rest of this entry »