Skip to content

Instantly share code, notes, and snippets.

View rendro's full-sized avatar
🤘
🤨

Robert rendro

🤘
🤨
View GitHub Profile
@liamcurry
liamcurry / gist:2597326
Created May 4, 2012 19:56
Vanilla JS vs jQuery

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@hyl
hyl / zalgo.js
Created January 20, 2015 23:18
Zalgo your outdated customers.
/*
If you actually want to use this in a live project (please don't), add the following to your HTML:
<!--[if lt IE 9 ]>
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="zalgo.js"></script>
<![endif]-->
*/
@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;