pass module.exports rather than exports
pass module.exports rather than exports

makePublicAPI needs to receive require, exports, and module in that order to work with AMD.

since isNode tests for module and module.exports, pass module.exports to makePublicAPI to avoid needing to test for
exports as well.

cleberar38/Sinon.JS,ryanwholey/Sinon.JS,nolimitid/Sinon.JS,nolimitid/Sinon.JS,cleberar38/Sinon.JS,mroderick/Sinon.JS,fatso83/Sinon.JS,mmckech/Sinon.JS,maxcal/Sinon.JS,ryanwholey/Sinon.JS,Druotic/Sinon.JS,pnlybubbles/Sinon.JS,GerHobbelt/Sinon.JS,jishi/sinon,timwienk/sinon,jishi/sinon,uberVU/Sinon.JS,xaka/Sinon.JS,cleberar38/Sinon.JS,Druotic/Sinon.JS,transtep/Sinon.JS,soundcloud/Sinon.JS,papandreou/Sinon.JS,papandreou/Sinon.JS,pghalliday/Sinon.JS,jasonkarns/Sinon.JS,cjohansen/Sinon.JS,hurrymaplelad/Sinon.JS,soundcloud/Sinon.JS,mroderick/Sinon.JS,kruppel/Sinon.JS,grassator/Sinon.JS,chentsulin/Sinon.JS,hurrymaplelad/Sinon.JS,spalger/Sinon.JS,uberVU/Sinon.JS,uberVU/Sinon.JS,kruppel/Sinon.JS,maxcal/Sinon.JS,GerHobbelt/Sinon.JS,GerHobbelt/Sinon.JS,spalger/Sinon.JS,pghalliday/Sinon.JS,andpor/sinon,traviskaufman/Sinon.JS,pnlybubbles/Sinon.JS,timwienk/sinon,dotchev/Sinon.JS,xaka/Sinon.JS,transtep/Sinon.JS,Khan/Sinon.JS,hurrymaplelad/Sinon.JS,papandreou/Sinon.JS,mroderick/Sinon.JS,Druotic/Sinon.JS,dotchev/Sinon.JS,soundcloud/Sinon.JS,nolimitid/Sinon.JS,maxcal/Sinon.JS,mmckech/Sinon.JS,grassator/Sinon.JS,traviskaufman/Sinon.JS,Khan/Sinon.JS,kruppel/Sinon.JS,grassator/Sinon.JS,andpor/sinon,pnlybubbles/Sinon.JS,ryanwholey/Sinon.JS,fatso83/Sinon.JS,mmckech/Sinon.JS,cjohansen/Sinon.JS,cjohansen/Sinon.JS,dotchev/Sinon.JS,jasonkarns/Sinon.JS,pghalliday/Sinon.JS,andpor/sinon,timwienk/sinon,chentsulin/Sinon.JS,Khan/Sinon.JS,traviskaufman/Sinon.JS,jasonkarns/Sinon.JS,transtep/Sinon.JS,spalger/Sinon.JS,xaka/Sinon.JS,jishi/sinon,fatso83/Sinon.JS,chentsulin/Sinon.JS