I am a new encoder and I am trying to interpret exports in the following code:
exports.setCourse = function(c){ course = c; Ti.API.debug('Setting course to ' + course.get('title')); };
What is the difference between exports.setCourse=function(c) and just setCourse=function (c) ?
source share