minus.js

Rate / votes
More than 7 users worldwide
Current version: 0.5.0
Price: FREE
Download extension
Like this extension ? Like/Share it!
A whole host of JS shortcuts, for the DOM hacker.`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

Reviews of minus.js extension

Similar extension