Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed node support

  • Loading branch information...
commit 8a770042bfab8d6798eca4463278878799f90279 1 parent 063db44
Andrew Luetgers authored April 17, 2013
4  package.json
@@ -2,7 +2,7 @@
2 2
 	"author": "Andrew Luetgers <andrew.luetgers@gmail.com> (http://www.andrewluetgers.com/)",
3 3
 	"name": "mr-hiccup",
4 4
 	"description": "A DOM constructor add-on for underscore.js inspired by Hiccup for Clojure",
5  
-	"version": "0.1.2",
  5
+	"version": "0.1.3",
6 6
 	"homepage": "https://github.com/andrewluetgers/mr-hiccup",
7 7
 	"repository": {
8 8
 		"type": "git",
@@ -21,7 +21,7 @@
21 21
 		"node": "*"
22 22
 	},
23 23
 	"dependencies": {
24  
-		"underscore": "1.4.x"
  24
+		"underscore": ">= 1.4.x"
25 25
 	},
26 26
 	"license": "MIT"
27 27
 }
2  src/Mr.Hiccup.js → src/mr-hiccup.js
@@ -5,7 +5,7 @@
5 5
 		_ = root._;
6 6
 
7 7
 	if ("module" in root && module.exports) {
8  
-		_ = reqmouire("underscore");
  8
+		root._ = _ = require("underscore");
9 9
 	}
10 10
 
11 11
 	if (!_) {
6  tests/Mr.Hiccup.html → tests/mr-hiccup.html
@@ -7,8 +7,10 @@
7 7
 	<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen">
8 8
 	<script type="text/javascript" src="qunit/qunit.js"></script>
9 9
 	<script type="text/javascript" src="underscore.js"></script>
10  
-	<script type="text/javascript" src="../src/Mr.Hiccup.js"></script>
11  
-	<script type="text/javascript" src="Mr.Hiccup.js"></script>
  10
+	<!--<script type="text/javascript" src="../lib/mr-hiccup.js"></script>-->
  11
+	<!--<script type="text/javascript" src="../lib/mr-hiccup.min.js"></script>-->
  12
+	<script type="text/javascript" src="../src/mr-hiccup.js"></script>
  13
+	<script type="text/javascript" src="mr-hiccup.js"></script>
12 14
 </head>
13 15
 
14 16
 <body>
0  tests/Mr.Hiccup.js → tests/mr-hiccup.js
File renamed without changes

0 notes on commit 8a77004

Please sign in to comment.
Something went wrong with that request. Please try again.