Skip to content

Commit

Permalink
Format indents.
Browse files Browse the repository at this point in the history
  • Loading branch information
pH200 committed Mar 25, 2012
1 parent 254e712 commit d8b17f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.js
Expand Up @@ -8,9 +8,9 @@ var OAuth = require('oauth').OAuth;

var clientOAuthGen = function (https, consumerKey, consumerSecret) {
var requestTokenUrl = https ? "https://www.plurk.com/OAuth/request_token"
: "http://www.plurk.com/OAuth/request_token";
: "http://www.plurk.com/OAuth/request_token";
var accessTokenUrl = https ? "https://www.plurk.com/OAuth/access_token"
: "http://www.plurk.com/OAuth/access_token";
: "http://www.plurk.com/OAuth/access_token";
return new OAuth(requestTokenUrl,
accessTokenUrl,
consumerKey,
Expand All @@ -23,8 +23,8 @@ var clientOAuthGen = function (https, consumerKey, consumerSecret) {

// accessToken and accessToken are optional
var PlurkClient = function (https,
consumerKey, consumerSecret,
accessToken, accessTokenSecret) {
consumerKey, consumerSecret,
accessToken, accessTokenSecret) {
this.endpoint = "http://www.plurk.com/";
this.oAuth = clientOAuthGen(https, consumerKey, consumerSecret);

Expand All @@ -47,8 +47,8 @@ var PlurkClient = function (https,
var getClient = function (json) {
var data = JSON.parse(json);
return new PlurkClient(data.https,
data.consumerKey, data.consumerSecret,
data.accessToken, data.accessTokenSecret);
data.consumerKey, data.consumerSecret,
data.accessToken, data.accessTokenSecret);
}

// fromFile(filename, ['utf8'], function(err, client))
Expand Down

0 comments on commit d8b17f7

Please sign in to comment.