Project: appceleratorstudio
Issue TISTUD-1310: Treat CommonJS modules specially when showing JS CA in a file that includes it
CommonJS modules make use of a "module" object that has an "exports" property. Also, there is an "exports" global that can be used similarly to "module.exports". There are rules in how these two items influence one another as is covered in http://www.hacksparrow.com/node-js-exports-vs-module-exports.html. So, whenever we include CA from a "require"d module, we need to grab properties from the "module.exports/exports" type instead of grabbing items from its global scope.
Story points: 13