Comments (6)
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.
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.
@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.
The whitespace commit occurs before the closure consolidation commit. You can click each commit to see its specific code changes.
from classlist.js.
-}(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.
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)
- ReferenceError: self is not defined HOT 1
- DOMException is undefined in IE8 HOT 3
- Object.defineProperty not working with older Safari Versions
- IE11/10 multiple argument remove and add not working due to SVG test HOT 16
- testElement.classList.toggle is not a function HOT 1
- tag the repo? HOT 4
- Maintenance Woes HOT 11
- No default export
- classList.js does not work if loaded after DOMContentLoaded HOT 1
- replace method is missing
- add() function with no arguments HOT 3
- The contains method have inverted condition HOT 2
- SCRIPT5009: 'DOMTokenList' is undefined HOT 7
- CDN link not working HOT 4
- ClassList not working in SVG use tag in IE11 HOT 4
- Not able to install via npm HOT 7
- Licensing HOT 3
- toggle fails in IE11 when force argument is set as undefined
- The specification of `DOMTokenList.prototype.contains` should return a boolean
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from classlist.js.