Skip to content

Instantly share code, notes, and snippets.

View shri's full-sized avatar

Shri Ganeshram shri

  • Founder, Stealth
  • United States
View GitHub Profile
@shri
shri / htmlparser.js
Last active August 29, 2015 14:13 — forked from cburgmer/htmlparser.js
/*
* HTML Parser By John Resig (ejohn.org)
* Original code by Erik Arvidsson, Mozilla Public License
* http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
*
* // Use like so:
* HTMLParser(htmlString, {
* start: function(tag, attrs, unary) {},
* end: function(tag) {},
* chars: function(text) {},