I'm a new coder and I'm trying to interpret exports in the following code:
exports.setCourse = function(c){
course = c;
Ti.API.debug('Setting course to ' + course.get('title'));
};
Whats the difference between exports.setCourse=function(c) and just setCourse=function (c)?
exportkeyword details here. Currently it is not supported natively by any of the web-browsers.