Skip to content

Instantly share code, notes, and snippets.

View jeffreybarke's full-sized avatar

Jeffrey Barke jeffreybarke

View GitHub Profile
@jeffreybarke
jeffreybarke / html5Ol.js
Created February 24, 2012 02:16 — forked from Zirak/a.js
ol reverse attribute polyfill
//use this if you want support for browsers which don't have ES5 goodies
if (!('reversed' in document.createElement('ol'))) {
(function () {
var lists = document.getElementsByTagName('ol'),
i = 0,
len = lists.length,
reverseList = function (list) {