Hi Krishan,
All the examples (should be :| ) is modified to use Dojo version 1.2.x
When I began the Book I had only 1.1. I have made a great effort to make sure that any changes between 1.1 and 1.2 are reflected in the examples (like the new DataGrid, for example).
Cheers,
PS
http://unclescript.blogspot.com/