Skip to content

Instantly share code, notes, and snippets.

@isummation
Created December 16, 2019 13:43
Show Gist options
  • Save isummation/7f95ce4b44c56b4f920f3423d59829df to your computer and use it in GitHub Desktop.
Save isummation/7f95ce4b44c56b4f920f3423d59829df to your computer and use it in GitHub Desktop.
<cfscript>
variables.functions = [];
variables.functionList = getFunctionList();
variables.functionList.each((key, value) => {
var funInfo = getFunctionData(key);
if(funInfo.description contains 'deprecated') {
variables.functions.append({
name: key,
description: funInfo.description
})
}
})
</cfscript>
<table>
<tr>
<td>Function Name</td>
<td>Description. Hint of the new function</td>
</tr>
<cfoutput>
<cfloop array="#variables.functions#" item="variables.function">
<tr>
<td>#variables.function.name#</td>
<td>#variables.function.description#</td>
</tr>
</cfloop>
</cfoutput>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment