raganwald / jquery-combinators Goto Github PK
View Code? Open in Web Editor NEWThe jQuery plugin with the academic name and the pragmatic methods
The jQuery plugin with the academic name and the pragmatic methods
I know this plugin is very simple but I just did some refactoring (#12) and couldn't test if I broke something or not.
Changing the code to allow multiple arguments removed the ability to pass the current collection as the first argument. This is still functional, of course, as the pseudo-variable this
will refer to the current collection. However, this conflicts with the examples in the docs, which use a parameter.
The other problem with the "new" functionality is that it makes refactoring slightly harder. If you already have a function that takes a selection as a parameter, you have to replace all of its parameter references with "this." With the old functionality, you could use the function as-is.
The correct functionality should be that if you pass parameters, the first parameter should be the current selection and the remaining parameters should be fixed. This should be documented.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.