Skip to content

Instantly share code, notes, and snippets.

View judas-christ's full-sized avatar

Daniel Hägglund judas-christ

View GitHub Profile
@paulirish
paulirish / bling.js
Last active November 4, 2024 17:48
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
};
NodeList.prototype.__proto__ = Array.prototype;