minus.js

Overview

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

5 out of 52 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    0.5.0
  • Updated
    July 21, 2016
  • Offered by
    ryanpcmcquen
  • Size
    12.4KiB
  • Languages
    English (United States)
  • Developer
    Email
    rpcm@linux.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.
Google apps