Skip to content

Commit

Permalink
[minor] only raw method is available now
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro committed Dec 18, 2011
1 parent 64bf52e commit e39163c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
@@ -1 +1,4 @@
/*
* Version 0.1.1
*/
module.exports = require('./lib/vimeo');
2 changes: 1 addition & 1 deletion lib/vimeo.js
Expand Up @@ -149,7 +149,7 @@ var all = vimeo.vimeo = function (type, id,req, cb){
if (!error && video){
request( url + '.json', function(err,res){
if (res.statusCode === 200) {
this.raw = this.get = JSON.parse(res.body)[0];
this.raw = JSON.parse(res.body)[0];
this.thumb = {s: this.raw.thumbnail_small,m:this.raw.thumbnail_medium,l:this.raw.thumbnail_large };
this.username = { name: this.raw.user_name, portrait:this.raw.user_portrait_medium} ;
cb(null,this);
Expand Down

0 comments on commit e39163c

Please sign in to comment.