Skip to content

Commit

Permalink
Remove trailing whitespace from CFC, CFM and Markdown files (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Dec 15, 2020
1 parent 7a5bf61 commit 7e6ecd0
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion api/build/BuildProperties.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @accessors true
*/
component accessors=true {
cwd = GetDirectoryFromPath( GetCurrentTemplatePath() );
cwd = GetDirectoryFromPath( GetCurrentTemplatePath() );
property name="docsDir" default="#ExpandPath( "/docs/" )#";
property name="functionReferenceDirectory" default="#docsDir#03.reference/01.functions/";
property name="tagReferenceDirectory" default="#docsDir#03.reference/02.tags/";
Expand Down
6 changes: 3 additions & 3 deletions api/reference/ObjectReferenceReader.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ component accessors=true {
if ( func.keyExists("member") && func.member.count() gt 0){
var member = func.member;
if (not objects.keyExists(member.type) )
objects[member.type] = StructNew("linked");
objects[member.type] = StructNew("linked");
}

//var convertedFunc = _getFunctionDefinition( functionName );
//functions[ functionName ] = convertedFunc;
}
setObjects( objects );
}
setObjects( objects );
}

/*
Expand Down
12 changes: 6 additions & 6 deletions api/sqlitecfc/tags/query.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
---><cfsilent>

<cfif not thisTag.hasEndTag>
<cfthrow
type="SqliteCFC.SyntaxError"
<cfthrow
type="SqliteCFC.SyntaxError"
message="The SqliteCFC query tag requires an end tag.">
</cfif>

Expand All @@ -21,14 +21,14 @@
<cfparam name="attributes.variableScope" type="string" default="application">

<cfif not StructKeyExists(attributes,"cfc") AND ((attributes.variableScope EQ "application" AND not StructKeyExists(application,attributes.variable)) OR (attributes.variableScope EQ "server" AND not StructKeyExists(SERVER,attributes.variable)))>
<cfthrow
type="SqliteCFC.NotDefined.CFC"
<cfthrow
type="SqliteCFC.NotDefined.CFC"
message="Attribute validation error for the SqliteCFC Query tag."
detail="The instantiated CFC was not passed via the CFC parameter, and does not exist in the variable #attributes.variableScope#[""#attributes.variable#""]">
</cfif>
<cfif not listFindNoCase("read,update",attributes.action)>
<cfthrow
type="SqliteCFC.SyntaxError"
<cfthrow
type="SqliteCFC.SyntaxError"
message="Attribute validation error for the SqliteCFC Query tag."
detail="The value of the action attribute must be one of 'list' or 'read'.">
</cfif>
Expand Down
2 changes: 1 addition & 1 deletion builders/html/templates/function.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#getEditLink(path=local.fn.getSourceFile(), edit=args.edit)#
#markdownToHtml( local.fn.getBody() )#
<!--- https://github.com/lucee/Lucee/pull/876 --->
<cfif len(local.fn.getStatus()) gt 0
<cfif len(local.fn.getStatus()) gt 0
and (local.fn.getStatus() neq "implemented" and local.fn.getStatus() neq "implemeted")>
<p><strong>Status:</strong> #local.fn.getStatus()#</p>
</cfif>
Expand Down
2 changes: 1 addition & 1 deletion docs/03.reference/01.functions/year/_examples.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
```luceescript+trycf
thisYear = year( now() );
thisYear = year( now() );
dump( thisYear );
```
2 changes: 1 addition & 1 deletion docs/03.reference/02.tags/argument/tag.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: <cfargument>
id: tag-argument
related:
related:
- tag-function
- tag-component
categories:
Expand Down
2 changes: 1 addition & 1 deletion docs/03.reference/02.tags/catch/_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
```lucee+trycf
<cftry>
<cfset a = 3/0>
<cfdump var="#c#" />
<cfdump var="#c#" />
<cfcatch>
<cfdump var="#cfcatch#">
</cfcatch>
Expand Down
2 changes: 1 addition & 1 deletion docs/03.reference/02.tags/finally/_examples.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
```lucee+trycf
<cftry>
<cfset a = 2/0>
<cfdump var="#a#" />
<cfdump var="#a#" />
<cfcatch type="any">
Caught an error.
</cfcatch>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Which is the right one for my server?

It requires approximately 145MB of disk space.

**Java SE Development Kit (JDK)** is designed for development servers and includes a complete JRE plus tools for developing, debugging, and monitoring Java applications. Monitoring tools like the cool [Mission Control](https://docs.oracle.com/javacomponents/jmc-5-4/jmc-user-guide/index.html) can help solve problems.
**Java SE Development Kit (JDK)** is designed for development servers and includes a complete JRE plus tools for developing, debugging, and monitoring Java applications. Monitoring tools like the cool [Mission Control](https://docs.oracle.com/javacomponents/jmc-5-4/jmc-user-guide/index.html) can help solve problems.

*Note:* If you plan to use [VisualVM](http://visualvm.java.net/) as your Java monitoring and troubleshooting tool, then the JDK is your choice. It requires approximately 310MB of diskspace.

Installing either the Server JRE or JDK is simple and takes around 10 minutes.
Expand Down
2 changes: 1 addition & 1 deletion docs/04.guides/04.cookbooks/43.QOQ_Sucks/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories:

This document explains why Query of Query is not the best approach and provides simple example about QOQ. The main reason you would not want to use query of query is that it is very slow.

### Example : ###
### Example : ###

```lucee+trycf
<cfscript>
Expand Down

0 comments on commit 7e6ecd0

Please sign in to comment.