kc-dot-io / Mojo-Mobile

Mojo-Mobile
http://blastmojo.com
Other
2 stars 0 forks source link

Implement better context for aguments in Mojo.Ready, Mojo.Observe etc #2

Closed kc-dot-io closed 9 years ago

kc-dot-io commented 13 years ago

Currently the pattern style says

Mojo.Ready('module','context',function(options){ .... });

Should probably be something like:

Mojo.Ready('module','context',function(module){ 
   Mojo.Log(module.model.data); //etc
});