alexyoung / dailyjs-survey

A survey for JavaScript programmers
18 stars 22 forks source link

Adding questions on IE, ES6 and adding options for browersify and Volo #8

Closed jjgonecrypto closed 10 years ago

jjgonecrypto commented 10 years ago

new questions

added to existing

bmeck commented 10 years ago

+1 for ES6 Features, but maybe an option about transpilers like facebook/regenerator or square/es6-arrow-function

angelyordanov commented 10 years ago

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.

jjgonecrypto commented 10 years ago

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.

angelyordanov commented 10 years ago

You have a point. I've done that for some edge cases but can't imagine someone using that in production.

jjgonecrypto commented 10 years ago

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 .