aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Dojo 1.7 - named functions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dojo 1.7 - named functions" Watch "Dojo 1.7 - named functions" New topic
Author

Dojo 1.7 - named functions

Kaisa Karhutar
Greenhorn

Joined: Apr 07, 2012
Posts: 1
There is an example in Dojo tutorial written in 1.6 style


named function toggle() is called from markup. What is the recommended way to do the same thing in 1.7 where dojo code is enclosed in anonymous function passed as an argument to require(..) method:

Is it possible to have named function that uses some dojo code?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dojo 1.7 - named functions