View test.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfoutput>#coolBeans#</cfoutput> | |
<cfdump var="request" abort="true" /> | |
This is interesting. But, it needs to be updated. |
View BugSnagApiClient.cfc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component | |
output = false | |
hint = "I report server-side errors to the BugSnag API." | |
{ | |
/** | |
* I initialize the BugSnag API client. | |
*/ | |
public void function init( required string apiKey ) { |
View Checkbox.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<mark>[Checkbox]</mark> | |
</div> |
View MyTag.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdump var="#attributes#" /> | |
<cfabort /> |
View test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = "noice!"; |
View authenticated.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
// For the sake of simplicity, all the "logged-in" pages will be rendered as this | |
// page, using the "v" value to differentiate. | |
param name="url.v" type="string" default="home"; | |
</cfscript> | |
<cfmodule template="./tags/page.cfm"> | |
<cfoutput> |
View index.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfmodule template="./tags/page.cfm"> | |
<cfoutput> | |
<div id="demo-container"> | |
<p class="original"> | |
To be changed via Turbo Streams. | |
</p> | |
</div> | |
<!--- |
View index.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfmodule template="./tags/page.cfm"> | |
<cfoutput> | |
<!--- Parent controller. ---> | |
<form data-controller="form"> | |
<!--- | |
The textarea controller has methods for manipulating the text value in | |
low-level ways so that the complexity of text manipulation doesn't have to | |
leak up and out into the form itself. This also increases the ability to |
View snippet-1.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
apiResponse = serializeJson({ | |
// ... truncated .... | |
featureFlags: { | |
canSeeDuplicate: true // This feature is now ENABLED for this user! | |
} | |
}); | |
</cfscript> |
View index.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
param name="form.name" type="string" default="Tricia"; | |
param name="form.action" type="string" default=""; | |
</cfscript> | |
<cfoutput> | |
<!-- BEGIN: Form. --> | |
<form id="myForm" method="post" action="#cgi.script_name#"> |
NewerOlder