Learning Dojo - 3.2 OO APIs

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()...