Closed jjgonecrypto closed 10 years ago
+1 for ES6 Features, but maybe an option about transpilers like facebook/regenerator or square/es6-arrow-function
You can't use CommonJS modules on the client side without Browserify.
So instead of two options:
It should be just one:
I guess that is what @alexyoung has in mind.
It's JS @angelyordanov, you can do anything. What's the say people aren't appending their files with?
if (typeof window !== 'undefined') window.XYZ = module.exports;
or any other variant. Personally I'm curious if they are using the browserify option or cooking up their own thing.
You have a point. I've done that for some edge cases but can't imagine someone using that in production.
For the sake of a succinct survey I'll capitulate on this point.
On 22 November 2013 11:20, Angel Yordanov notifications@github.com wrote:
You have a point. I've done that for some edge cases but can't imagine someone using that in production.
— Reply to this email directly or view it on GitHubhttps://github.com/alexyoung/dailyjs-survey/pull/8#issuecomment-29085448 .
new questions
added to existing