0.0.0 • Published 10 years ago
no-elements-for-you v0.0.0
no elements for you
Instrument code and throw if it ever touches an Element
Use
var nope = require('no-elements-for-you');
var niceTry = nope(function () {
return document.getElementsByTagName('body');
});
niceTry();
// -> throws
License
MIT
0.0.0
10 years ago