IndigoUnited / automaton

Task automation tool built in JavaScript
http://indigounited.com/automaton
MIT License
214 stars 10 forks source link

Do not export an object, use exports directly. #34

Closed satazor closed 11 years ago

satazor commented 11 years ago

What if we do this instead:

exports.id = 'my-task';
exports.name = 'some name';
exports.options = {

};

exports.tasks = [

];

What you think @marcooliveira ?

satazor commented 11 years ago

Nvm, this syntax is already supported because exports is by default an object.

marcooliveira commented 11 years ago

WAT? :P

satazor commented 11 years ago

LOL