Add function literal to define call to allow optimizers to properly recognize and put the standard require, exports modules dependencies and module name when optimized with other files. Also adds a define.amd check to make sure only a module loader's define would get called.
Add function literal to define call to allow optimizers to properly recognize and put the standard require, exports modules dependencies and module name when optimized with other files. Also adds a define.amd check to make sure only a module loader's define would get called.

Zeratul5/q,IlianStefanov/q,dracher/q,SarunasAzna/q,manushthinkster/q,yizziy/q,gustavobeavis/q,jymsy/q,behind2/q,lidasong2014/q,greyhwndz/q,Zeratul5/q,harks198913/q,lidasong2014/q,criferlo/q,homer0/q,cgvarela/q,signpost/q,IlianStefanov/q,ajunflying/q,b12consulting/q,mcanthony/q,ShopCo/q,signpost/q,darkdragon-001/q,X-Bird/q,jymsy/q,potato620/q,lvdou2518/q,yizziy/q,liwangbest/q,CozyCo/q,kevinsawicki/q,gorcz/q,darkdragon-001/q,dracher/q,Muffasa/q,gustavobeavis/q,zhangwenquan/q,willsmth/q,miamarti/q,npmcomponent/techjacker-q,CozyCo/q,liwangbest/q,harks198913/q,IbpTeam/node-q,cgvarela/q,willsmth/q,behind2/q,kriskowal/q,ShopCo/q,miamarti/q,greyhwndz/q,X-Bird/q,SarunasAzna/q,gorcz/q,Muffasa/q,bnicart/q,welbornio/q,homer0/q,npmcomponent/microjs-q,pwmckenna/q,b12consulting/q,rasata/q,welbornio/q,linalu1/q,mcanthony/q,zhangwenquan/q,kriskowal/q,manushthinkster/q,lvdou2518/q,linalu1/q,STRd6/q,potato620/q,rasata/q,aramk/q,aramk/q,ajunflying/q,100star/q,criferlo/q,bnicart/q,IbpTeam/node-q,pwmckenna/q