MatthewMueller/cheerio — Issue #2: before(...) & after(...) throw error if there is no parent
Author: MatthewMueller
Created: 2011-11-04 08:26:01+00:00
State: open

This fix is for the crazies (like myself):

$('html').before("

Zomg, I'm before the html tag

");