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. |
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 ) { |
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> |
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 /> |
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!"; |
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> |
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> | |
<!--- |
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 |
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> |
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