Refactoring #1

Closed
arunoda opened this Issue Apr 11, 2013 · 0 comments

Comments

Projects
None yet
2 participants
Collaborator

arunoda commented Apr 11, 2013

  • Add a proper request version. Not * but something like 10.2.x
  • remove console.log in comments
  • create a module from this which gives us an array of titles. This is how you will be using the module. (module name should be hn)
var hn = require('./hn');
hn.getHomePage(function(err, titles) {
  console.log(titles);
});

If you have any question. Just ask here.

nadee013 was assigned Apr 11, 2013

arunoda closed this Apr 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment