Learning Dojo — 3.2 OO APIs

1. dojo.hitch:  Takes a function as the parameter and execute it

   var alerter = {
      doAlert: function(){
         alert("something");
      }
   }

   dojo.hitch(alerter, doAlert);

2. Array methods: dojo.forEach(), dojo.every(), and so on

3. Type methods: dojo.isString(), dojo.isArray()…

4. Object Coping: dojo.mixin(), dojo.clone()…

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.