Code Monkey home page Code Monkey logo

Comments (6)

euwest avatar euwest commented on August 21, 2024 1

@stevenvachon:

another preference is for single-purpose pull requests.

I agree ... about #53. IMO it does too much at once.

That's @beck responding to:

I fixed #48 in the "Consolidated closures" commit in #53.
I fixed whitespace in the "Whitespace fixes" commit in #53.
I rewrote the tests in the "Improve tests" commit in #53.

He's telling you he would like those to be separate PRs, not just separate commits. Condescension is not an appropriate response.

from classlist.js.

stevenvachon avatar stevenvachon commented on August 21, 2024

I fixed #48 in the "Consolidated closures" commit in #53.
I fixed whitespace in the "Whitespace fixes" commit in #53.
I rewrote the tests in the "Improve tests" commit in #53.

There are "..." buttons on those commits for you to read further commenting, in case you aren't familiar with GitHub.

prepublish is also ran on postinstall in npm <5. Likely not ideal at the moment. Use https://npmjs.com/in-publish

from classlist.js.

beck avatar beck commented on August 21, 2024

@stevenvachon another preference is for single-purpose pull requests.

I agree with @eligrey about #53. IMO it does too much at once. Before the closures can be consolidated, lets cleanup the whitespace. Before we touch every line with whitespace cleanup, lets get the tests in working condition. I would expect a fix for #48 to have a diff of ~2 lines, something like:

-}(self));
+}(typeof self !== 'undefined' ? self : this));

from classlist.js.

stevenvachon avatar stevenvachon commented on August 21, 2024

The whitespace commit occurs before the closure consolidation commit. You can click each commit to see its specific code changes.

from classlist.js.

englishextra avatar englishextra commented on August 21, 2024

-}(self));
+}(typeof self !== 'undefined' ? self : this));

This is what I do with every polyfill I deal with.

BTW I'm gonna send a PR regarding !a===!b at the bottom of the polyfill, tha last thing which is a thorn.

from classlist.js.

stevenvachon avatar stevenvachon commented on August 21, 2024

He's telling you he would like those to be separate PRs, not just separate commits. Condescension is not an appropriate response.

And I'm telling him and anyone else that they can go through the commits. I have little interest in redoing my PRs after all this time.

from classlist.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.