File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dojo 1.7 - named functions

 
Kaisa Karhutar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic