Internet suXplorer JavaScript compatibility fixes
This commit is contained in:
parent
924ae9c404
commit
5761b6e2dc
5 changed files with 10 additions and 5 deletions
|
@ -21,7 +21,8 @@ $Id$
|
|||
<%-
|
||||
for k,v in pairs(d.deps) do
|
||||
-%>
|
||||
<%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>,
|
||||
<%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>
|
||||
<%-if next(d.deps, k) then-%>,<%-end-%>
|
||||
<%-
|
||||
end
|
||||
-%>
|
||||
|
|
|
@ -30,7 +30,8 @@ $Id$
|
|||
<%-
|
||||
for i, k in ipairs(self.keylist) do
|
||||
-%>
|
||||
<%-=string.format("%q", k) .. ":" .. string.format("%q", self.vallist[i])-%>,
|
||||
<%-=string.format("%q", k) .. ":" .. string.format("%q", self.vallist[i])-%>
|
||||
<%-if i<#self.keylist then-%>,<%-end-%>
|
||||
<%-
|
||||
end
|
||||
-%>
|
||||
|
|
|
@ -34,7 +34,8 @@ $Id$
|
|||
<%-
|
||||
for k,v in pairs(d.deps) do
|
||||
-%>
|
||||
<%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>,
|
||||
<%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>
|
||||
<%-if next(d.deps, k) then-%>,<%-end-%>
|
||||
<%-
|
||||
end
|
||||
-%>
|
||||
|
|
|
@ -31,7 +31,8 @@ $Id$
|
|||
<%-
|
||||
for i, val in pairs(self.optionals[section]) do
|
||||
-%>
|
||||
<%-=string.format("%q", val.option) .. ":" .. string.format("%q", striptags(val.title))-%>,
|
||||
<%-=string.format("%q", val.option) .. ":" .. string.format("%q", striptags(val.title))-%>
|
||||
<%-if next(self.optionals[section], i) then-%>,<%-end-%>
|
||||
<%-
|
||||
end
|
||||
-%>
|
||||
|
|
|
@ -20,7 +20,8 @@ $Id$
|
|||
<%-
|
||||
for i, k in ipairs(self.keylist) do
|
||||
-%>
|
||||
<%-=string.format("%q", k) .. ":" .. string.format("%q", self.vallist[i])-%>,
|
||||
<%-=string.format("%q", k) .. ":" .. string.format("%q", self.vallist[i])-%>
|
||||
<%-if i<#self.keylist then-%>,<%-end-%>
|
||||
<%-
|
||||
end
|
||||
-%>
|
||||
|
|
Loading…
Reference in a new issue