Permalink
Browse files
Removed definit and path delcarations.
- Loading branch information...
Showing
with
0 additions
and
13 deletions.
-
+0
−13
lib/modules/justintv.js
|
@@ -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