• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 18: Line 18:     
function debugLog(k, v)
 
function debugLog(k, v)
     table.insert(debug, (k or "?") .. " = " .. (v or "?"))
+
    k = tostring(k):gsub("%s+", "")
 +
    v = tostring(v):gsub("%s+", "")
 +
     table.insert(debug, k .. " = " .. v)
 
end
 
end
    
function debugString()
 
function debugString()
     return #debug > 0 and args.debug and ([[<pre class="calc-debug" style="display:none"><code>]] .. table.concat(debug, "\n") .. [[</code></pre>]]) or ""
+
     return #debug > 0 and args.debug and ([[<pre class="calc-debug" style="text-align:left;display:none"><code>]] .. table.concat(debug, "\n") .. [[</code></pre>]]) or ""
 
end
 
end
  
cssedit, gkautomate
7,060

edits

Navigation menu