yeoman / generator-polymer

Scaffold out a Polymer project
http://polymer-project.org
926 stars 149 forks source link

moved js and css in files #283

Closed ayurmedia closed 8 years ago

ayurmedia commented 8 years ago

Separate html into html, css, js for better maintenance.

ayurmedia commented 8 years ago

node 0.10 fails. but current stable is v4.4.7 . maybe update travis test settings.

robdodson commented 8 years ago

Thanks for the PR @ayurmedia but the current style of having everything in one file is based on the Polymer team's preferred methodology for writing components. People have very strong opinions on these things but I think this is the approach we will stick with moving forward.

ayurmedia commented 8 years ago

I understand if this is your code style. i just have the feeling if files get bigger, then having css + js in the same file starts to be spagetti-code. but 1 file = 1 element makes things simpler. In screencasts i have seen the split file version and i preferred it. Even so much to start the github-fork.