Act on jQuery elements only once.
Filters out all elements that had the same filter applied on them before. It can be used to ensure that a function is only applied once to an element.
// The following will change the color of each paragraph to red, just once// for the "changecolor" key.;// .once() will return a set of elements that yet to have the once ID// associated with them. You can return to the original collection set by// using .end().;// To execute a function on the once set, you can use jQuery's each().;
- Ensure you are using node >= 4:
- Install dependencies through npm:
- Check coding style standard, and automated testing:
npm run build
- Update API documentation:
npm run docs
git add -A git commit -m "2.1.2" git tag 2.1.2 git push origin 2.1.2 npm publish
It is possible to run tests through Docker Compose:
Dual licensed under:
Copyright © Rob Loach