Permalink
Browse files

update readme

  • Loading branch information...
1 parent b7dc550 commit a778d77bdcf88262bb1413c955a9a7e2acc6393a @sxtxixtxcxh committed Feb 23, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
@@ -10,12 +10,12 @@ Create a YouTube object, passing in params.
Call a method, passing it a function name as a callback param.
- var youtube = new YouTube({
- user:'sxtxixtxcxh'
- });
+ var youtube = new YouTube();
youtube.videoFeed({
- callback : 'console.log'
+ user : 'sxtxixtxcxh'
+ }, function(videos){
+ // do whatever with the results.
});
I'll be honest, I haven't looked at this code in almost a year, and I've nearly forgotten how to use it.

0 comments on commit a778d77

Please sign in to comment.