Browse files

updated docs a bit

  • Loading branch information...
1 parent 16104b5 commit d46f92534d26cd417ac3e49466d69ef6658c9b5d @andrewluetgers committed Apr 17, 2013
Showing with 11 additions and 8 deletions.
  1. +11 −8
@@ -3,7 +3,17 @@ mr-hiccup
Mr. Hiccup is a DOM constructor add-on for underscore.js inspired by Hiccup for Clojure <>, there is also another javascript Hiccup project <>
-In the browser you can load the js file after underscore.js to add the following functions
+This is an add-on for for underscore. So in the browser you'll need to load that first
+npm module:
+ npm install grab
+when you require the npm module it will augment root._ if it exists or add it if it doesn't
+ require("mr-hiccup");
+Adds the following methods to _
_.dom - the main utility for creating DOM nodes and HTML strings
@@ -22,13 +32,6 @@ _.doc
-In node you can require the npm module
-var mrHiccup = require("mr-hiccup");
define a tag with css style selectors

0 comments on commit d46f925

Please sign in to comment.