234 attempt to fix js error Uncaught SyntaxError: Unexpected identifier 'hidden'

This commit is contained in:
2026-04-27 17:57:24 +03:00
parent 8a32a0d5f0
commit 74c073bd7e
149 changed files with 14361 additions and 8886 deletions
+13 -15
View File
@@ -1,19 +1,17 @@
<cfcomponent implements="taffy.bonus.ILogAdapter">
component implements="taffy.bonus.ILogAdapter" {
<cffunction name="init">
<cfargument name="config" />
<cfargument name="tracker" default="#createObject("component", "Hoth.HothTracker")#" />
<cfset variables.hothtracker = arguments.tracker />
<cfset variables.hothtracker.init(
public function init(config, tracker=createObject("component", "Hoth.HothTracker")) {
variables.hothtracker = arguments.tracker;
variables.hothtracker.init(
createObject("component", arguments.config)
) />
<cfreturn this />
</cffunction>
);
return this;
}
<cffunction name="saveLog">
<cfargument name="exception" />
<cfset local.result = variables.HothTracker.track(arguments.exception) />
<cfheader name="X-HOTH-LOGGED-EXCEPTION" value="#local.result#" />
</cffunction>
public function saveLog(exception) {
var local = {};
local.result = variables.HothTracker.track(arguments.exception);
cfheader(name="X-HOTH-LOGGED-EXCEPTION", value=local.result);
}
</cfcomponent>
}