Internet suXplorer JavaScript compatibility fixes

This commit is contained in:
Steven Barth 2008-09-16 10:09:14 +00:00
parent 924ae9c404
commit 5761b6e2dc
5 changed files with 10 additions and 5 deletions

View file

@ -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
-%>

View file

@ -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
-%>

View file

@ -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
-%>

View file

@ -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
-%>

View file

@ -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
-%>