minus.js
A whole host of JS shortcuts, for the DOM hacker.
Overview
What is minus.js?
A whole host of JS shortcuts, for the DOM hacker..
SCREENSHOT
SUMMARY
`minus` includes a whole host of shortcuts for JavaScript developers:
m.d for document
m.o for Object
m.ap for Array.prototype
m.eq or m.eqs for ELEMENT.querySelector
m.eqa or m.eqsa for ELEMENT.querySelectorAll
m.q or m.qs for document.querySelector
m.qa or m.qsa for document.querySelectorAll
m.ael for addEventListener
m.oc for Object.create
m.ok for Object.keys
m.aspc for Array.prototype.slice.call
m.qp for queryParent (taken from https://github.com/ryanpcmcquen/queryparent)
m.qsi for querySibling (taken from https://github.com/ryanpcmcquen/querysibling)
m.qsi.n is for querying the next sibling.
m.qsi.p is for querying the previous sibling.
Do `m.qs('body');` directly from your browser's console! Save time debugging your JS apps.
If a global object named `m` already exists, `minus.js` will try for `mi` or `min` and then gracefully bow out.
https://github.com/ryanpcmcquen/minus.js
See More
Stats
Trends for minus.js:
Rank
User count
Category Rank
Rating
Download
HOW TO INSTALL minus.js FROM A CRX FILE
- Download minus.js CRX file
- NOTE: Sometimes the browser may block downloading / installing CRX file from outside the Chrome Web Store. If so, you may need to download the ZIP file instead
- In the URL bar, go to chrome://extensions
- Enable Developer mode
Ratings
USER REVIEWS (0)
No reviews