Permalink
Browse files

remove sys dependency

  • Loading branch information...
1 parent 391c4b8 commit 764ff04aa934cbae9bd6caeb3bd4f0eb19c9b213 @aaronblohowiak aaronblohowiak committed Jul 16, 2011
Showing with 4 additions and 5 deletions.
  1. +3 −4 lib/haml.js
  2. +1 −1 package.json
View
@@ -1,6 +1,5 @@
-var Haml,
- sys = require("sys");
-
+var Haml;
+
(function () {
var matchers, self_close_tags, embedder, forceXML, escaperName, escapeHtmlByDefault;
@@ -634,7 +633,7 @@ var Haml,
var f = new Function("locals", escaper + str );
return f;
}catch(e){
- sys.error(str);
+ console.error(str);
throw e;
}
}
View
@@ -8,5 +8,5 @@
"haml-js": "./lib/cli.js"
},
"author": "Aaron Blohowiak <aaron.blohowiak@gmail.com>, Tim Caswell <tim@creationix.com>",
- "version": "0.4.0"
+ "version": "0.4.1"
}

0 comments on commit 764ff04

Please sign in to comment.