Permalink
Browse files

Removed definit and path delcarations.

  • Loading branch information...
slickplaid committed Jun 27, 2011
1 parent 0255f91 commit 0d8852813c39be7d3cf39978d90ea5b591a26f37
Showing with 0 additions and 13 deletions.
  1. +0 −13 lib/modules/justintv.js
View
@@ -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')

0 comments on commit 0d88528

Please sign in to comment.