Skip to content

Commit

Permalink
Removed definit and path delcarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
slickplaid committed Jun 27, 2011
1 parent 0255f91 commit 0d88528
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/modules/justintv.js
Expand Up @@ -3,23 +3,10 @@ var oauthModule = require('./oauth')

var justintv = module.exports =
oauthModule.submodule('justintv')
.definit( function () {
this.oauth = new OAuth(
this.oauthHost() + this.requestTokenPath()
, this.oauthHost() + this.accessTokenPath()
, this.consumerKey()
, this.consumerSecret()
, '1.0', null, 'HMAC-SHA1', null
);
})

.apiHost('http://api.justin.tv')
.oauthHost('http://api.justin.tv')

.requestTokenPath('/oauth/request_token')
.authorizePath('/oauth/authorize')
.accessTokenPath('/oauth/access_token')

.entryPath('/auth/justintv')
.callbackPath('/auth/justintv/callback')

Expand Down

0 comments on commit 0d88528

Please sign in to comment.