This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Make runnable on JS level

  • Loading branch information...
bergie committed Oct 2, 2012
1 parent 36996d4 commit dea849612449a40af71d973747e7107f85fde692
Showing with 5 additions and 1 deletion.
  1. +4 −0 index.js
  2. +1 −1 package.json
View
@@ -0,0 +1,4 @@
+require('coffee-script');
+var juggler = require('./lib/resource-juggling.coffee');
+exports.contentNegotiator = juggler.contentNegotiator;
+exports.getResource = juggler.getResource;
View
@@ -18,7 +18,7 @@
"devDependencies": {
"coffeelint": "*"
},
- "main": "./lib/resource-juggling.coffee",
+ "main": "./index.js",
"repository": {
"type": "git",
"url": "git://github.com/bergie/resource-juggling.git"

0 comments on commit dea8496

Please sign in to comment.