首页 扩展程序 minus.js

minus.js

提供方: ryanpcmcquen
2
开发者工具 15 位用户

插件简介

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

其他信息

ID pchfdjinikokceoagjbhilpnoccabcag 版本 0.5.0 上次更新日期 2016年7月20日 大小 12.4KiB 语言 支持1 种语言 开发者

rpcm@linux.com

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

minus.js Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效