edchat/dojox_mvc — pull request #59 by k2s (2012-10-17 16:10:05+00:00)
Title: missing return in StoreRefController.getStore()

example http://jsfiddle.net/T73xQ/1/

following statements are always "undefined":
alert(ctrl.getStore("A111"));
when(ctrl.getStore("A111"), function (value) { alert(value); });

Based on API documentation for getStore() I think a return is missing in your code.