-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements Tests and rewrite the codebase using ES6 (related to the issues #33 #3) #34
Conversation
…style or the tests are broken and build the dist to the latest state
…t script and to run build script
… run the visual test
Ref #34 #33 |
Any thoughts @raphamorim? |
I'm start reviewing it now, sorry by delay I have some questions to proceed:
Also nice job testing UI behavior and remaining waterfall size after transpile it (I believe Rollup was a good choice) |
Thanks for taking time to review it @raphamorim!! Why to use ES6?ES6 provide some improvements on the syntax. Since a refactor was needed to implement the unit tests, why not use ES6 in that refactor? Why it generate two files: cjs and umd version? Why it? How bower will understand it?The cjs version is handled by npm when you type Can you add Nodejs 7 in
|
On second thought the |
The travis test on node v7.5.0 failed. It seems to be a problem related to yarn not building karma-phantomjs-launcher. |
…yarn using solution mentioned on karma-runner/karma-phantomjs-launcher#120
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seu código é muito bonito, @thiamsantos 😄 👍
Any thoughts @raphamorim? |
package.json
, an ES6 version is exposed through the property module on thepackage.json
and also a umd version will be available at unpkg after this PR was accepted and ublished to npm.npm start
.