Permalink
Browse files

Slight cleanup

  • Loading branch information...
1 parent 114022d commit c33bea33e297182aadc0706dfe7bc653cdb6a8f0 @mertonium committed Sep 22, 2011
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/abhispeak.js
  2. +1 −1 package.json
View
@@ -6,16 +6,16 @@ var http = require('http'),
exports.panda = function(options, callback) {
var args = Array.prototype.slice.call(arguments);
var data;
-
+
var defaults = {
host: 'abhi.herokuapp.com',
port: 80,
paragraphs: 2,
ptags: false
};
-
+
options = _.defaults(options, defaults);
-
+
options.path = '/generate?paragraphs='+options.paragraphs+'&tags='+((options.ptags) ? 'yes' : 'no');
var req = http.get(options, function(res) {
View
@@ -6,7 +6,7 @@
"keywords":["lorem","ipsum","lipsum","filler","text"],
"homepage":"http://mertonium.com",
"author":"John Mertens <john@mertonium.com> (http://mertonium.com)",
- "repository":{ "type" : "git", "url" : "http://github.com/mertonium/aphilipsum-node.git" },
+ "repository":{ "type" : "git", "url" : "http://github.com/mertonium/abhispeak-node.git" },
"dependencies": {
"underscore" : "1.1.7"
},

0 comments on commit c33bea3

Please sign in to comment.