Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated docs a bit

  • Loading branch information...
commit d46f92534d26cd417ac3e49466d69ef6658c9b5d 1 parent 16104b5
@andrewluetgers authored
Showing with 11 additions and 8 deletions.
  1. +11 −8 README.md
View
19 README.md
@@ -3,7 +3,17 @@ mr-hiccup
Mr. Hiccup is a DOM constructor add-on for underscore.js inspired by Hiccup for Clojure <https://github.com/weavejester/hiccup>, there is also another javascript Hiccup project <https://github.com/hns/hiccup.js>
-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
_.el
_.isSelector
-In node you can require the npm module
-
-var mrHiccup = require("mr-hiccup");
-
-
-
-
define a tag with css style selectors
Please sign in to comment.
Something went wrong with that request. Please try again.