Permalink
Browse files

Remove trailing spaces.

Cleanup superfluous spaces at end of lines so actual changes show easier.
  • Loading branch information...
1 parent 13911d8 commit bd1ce68674f283e8f2ab114eac52cdd9f588353c @boughtonp boughtonp committed May 28, 2013
View
@@ -33,7 +33,7 @@ All methods and parameters within the monkehTweet component are documented and h
--->
<cfcomponent output="true">
-
+
<!--- Set up the application. --->
<cfscript>
this.Name = "monkehTweet_V1.3.1";
@@ -44,12 +44,12 @@ All methods and parameters within the monkehTweet component are documented and h
this.mappings = structnew();
//do this for CF 8+
this.mappings['/com'] = GetDirectoryFromPath(GetCurrentTemplatePath()) & "/com";
- </cfscript>
-
-
+ </cfscript>
+
+
<cffunction name="OnApplicationStart" access="public" returntype="boolean" output="false">
<cfscript>
- /*
+ /*
If you are using this for a number of different accounts (allowing numerous users to acces Twitter)
you will need to specify only the consumerKey and consumerSecret
@@ -74,13 +74,13 @@ All methods and parameters within the monkehTweet component are documented and h
return true;
</cfscript>
</cffunction>
-
+
<cffunction name="onrequestStart">
<cfscript>
if(structKeyExists(url, 'reinit')) {
onApplicationStart();
}
</cfscript>
</cffunction>
-
+
</cfcomponent>
View
@@ -24,12 +24,12 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--->
<cfscript>
- returnData = application.objMonkehTweet.getAccessToken(
+ returnData = application.objMonkehTweet.getAccessToken(
requestToken = session.oAuthToken,
requestSecret = session.oAuthTokenSecret,
verifier = url.oauth_verifier
);
-
+
if (returnData.success) {
//Save these off to your database against your User so you can access their account in the future
session['accessToken'] = returnData.token;
@@ -31,7 +31,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<cfproperty name="userAccountName" type="string" default="" />
<cfset variables.instance = structNew() />
-
+
<cffunction name="init" access="public" output="false" returntype="authDetails" hint="I am the constructor method for the authDetails class">
<cfargument name="consumerKey" required="true" type="string" hint="The consumer key generated by Twitter for the oAuth." />
<cfargument name="consumerSecret" required="true" type="string" hint="The consumer secret generated by Twitter for the oAuth." />
@@ -47,52 +47,52 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</cfscript>
<cfreturn this />
</cffunction>
-
+
<!--- MUTATORS --->
<cffunction name="setConsumerKey" access="package" output="false" hint="I set the consumer key generated by Twitter for the oAuth.">
<cfargument name="consumerKey" required="true" type="string" hint="The consumer key generated by Twitter for the oAuth." />
<cfset variables.instance.consumerKey = arguments.consumerKey />
</cffunction>
-
+
<cffunction name="setConsumerSecret" access="package" output="false" hint="I set the consumer secret generated by Twitter for the oAuth.">
<cfargument name="consumerSecret" required="true" type="string" hint="The consumer secret generated by Twitter for the oAuth." />
<cfset variables.instance.consumerSecret = arguments.consumerSecret />
</cffunction>
-
+
<cffunction name="setOAuthToken" access="package" output="false" hint="I set the consumer secret generated by Twitter for the oAuth.">
<cfargument name="oauthToken" required="true" type="string" hint="The access token (oauth_token) generated by Twitter for the oAuth." />
<cfset variables.instance.oauthToken = arguments.oauthToken />
</cffunction>
-
+
<cffunction name="setOAuthTokenSecret" access="package" output="false" hint="I set the consumer secret generated by Twitter for the oAuth.">
<cfargument name="oauthTokenSecret" required="true" type="string" hint="The access token secret (oauth_token_secret) generated by Twitter for the oAuth." />
<cfset variables.instance.oauthTokenSecret = arguments.oauthTokenSecret />
</cffunction>
-
+
<cffunction name="setUserAccountName" access="package" output="false" hint="I set the account name for the authenticated user.">
<cfargument name="userAccountName" required="true" type="string" hint="The account name for the user." />
<cfset variables.instance.userAccountName = arguments.userAccountName />
</cffunction>
-
- <!--- ACCESSORS --->
+
+ <!--- ACCESSORS --->
<cffunction name="getConsumerKey" access="public" output="false" hint="I get the Twitter oAuth consumer key.">
<cfreturn variables.instance.consumerKey />
</cffunction>
-
+
<cffunction name="getConsumerSecret" access="public" output="false" hint="I get the Twitter oAuth consumer secret.">
<cfreturn variables.instance.consumerSecret />
</cffunction>
-
+
<cffunction name="getOAuthToken" access="public" output="false" hint="I get the Twitter oAuth token.">
<cfreturn variables.instance.oauthToken />
</cffunction>
-
+
<cffunction name="getOAuthTokenSecret" access="public" output="false" hint="I get the Twitter oAuth token secret.">
<cfreturn variables.instance.oauthTokenSecret />
</cffunction>
-
+
<cffunction name="getUserAccountName" access="public" output="false" hint="I get the user account name.">
<cfreturn variables.instance.userAccountName />
</cffunction>
-
+
</cfcomponent>
Oops, something went wrong.

0 comments on commit bd1ce68

Please sign in to comment.