I'm playing around with layouts using an example from the Dojo documentation. It works properly when using the dojo.js source, but when I use the Esri 3.5 API, it doesn't work. Here's a fiddle showing the layout. Why isn't it working properly with the 3.5 API?
Looks like you are running into this issue outlined in the 'What's New at 3.3' help topic. If you remove lang=en your fiddle works.
Using lang="en" can break apps that use when using layout dijits and data-dojo-config(or dojoConfig) locale or extraLocale is not set. The recommended fix is to set locale or extraLocale on data-dojo-config or remove the lang="en" attribute. The specific error seen when this is an issue is "dojo/parser::parse() error TypeError" in Chrome and "TypeError: _72f(...) is undefined" in Firefox. More information is available in the Dojo bug tracker: http://trac.dojotoolkit.org/ticket/15630#comment:7http://trac.dojotoolkit.org/ticket/15768#comment:6
Looks like you are running into this issue outlined in the 'What's New at 3.3' help topic. If you remove lang=en your fiddle works.
Using lang="en" can break apps that use when using layout dijits and data-dojo-config(or dojoConfig) locale or extraLocale is not set. The recommended fix is to set locale or extraLocale on data-dojo-config or remove the lang="en" attribute. The specific error seen when this is an issue is "dojo/parser::parse() error TypeError" in Chrome and "TypeError: _72f(...) is undefined" in Firefox. More information is available in the Dojo bug tracker: http://trac.dojotoolkit.org/ticket/15630#comment:7http://trac.dojotoolkit.org/ticket/15768#comment:6