mafintosh / are-feross-and-mafintosh-stuck-in-an-elevator

Are @feross and @mafintosh stuck in an elevator?
MIT License
80 stars 7 forks source link

Feature/return false #5

Open fnky opened 9 years ago

fnky commented 9 years ago

This change will optimize the performance and make it more trivial to get the return value of the module, without explicitly calling a function.

Note: This is a breaking change.

LinusU commented 9 years ago

No semicolons! We follow Javascript Standard Style

fnky commented 9 years ago

Sorry, there were no semicolons before. Will fix!

LinusU commented 9 years ago

Also, this might cause complications for long running scripts once #4 is resolved. Consider a webpage that displays real time status on wether they are stuck or not, it will now always be cached to what the value was when the module was required...

fnky commented 9 years ago

6 might be a better solution perhaps