I'm following this guide using the declarative example: http://dojotoolkit.org/reference-guide/1.9/dijit/form/Textarea.html#id2
But for some reason it's not working at all. It shows that it's working in the example on the Dojo site, but when I put it on my webpage it doesn't do what it's suppose to do, which is auto resize the text area to the content. The first example, programmatic, works fine.
Here you can see that on Plunker it's also not working: http://plnkr.co/edit/v5MngysRgo5509isCMa1?p=preview
I've inserted both example and as you can see, the programmatic way works but the declarative way isn't.
What's going on?