- From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Sep 2011 11:03:57 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js In directory hutz:/tmp/cvs-serv6514/js Modified Files: respec.js Log Message: fix for Opera Index: respec.js =================================================================== RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v retrieving revision 1.165 retrieving revision 1.166 diff -u -d -r1.165 -r1.166 --- respec.js 13 Sep 2011 10:05:31 -0000 1.165 +++ respec.js 13 Sep 2011 11:03:55 -0000 1.166 @@ -1801,7 +1801,7 @@ var type = match[1]; mem.id = match[2]; mem.refId = this._id(mem.id); - mem.default = match[3]; + mem.defaultValue = match[3]; mem.nullable = false; if (/\?$/.test(type)) { type = type.replace(/\?$/, ""); @@ -2181,9 +2181,9 @@ sn.element("a", {}, span, it.datatype); } if (it.nullable) sn.text(", nullable", dt); - if (it.default) { + if (it.defaultValue) { sn.text(", defaulting to ", dt); - sn.element("code", {}, dt, [sn.text(it.default)]); + sn.element("code", {}, dt, [sn.text(it.defaultValue)]); } } return df; @@ -2596,7 +2596,7 @@ str += "<span class='idlMemberType'><a>" + memb.datatype + "</a>" + nullable + "</span> "; for (var i = 0; i < pad; i++) str += " "; str += "<span class='idlMemberName'><a href='#" + curLnk + memb.refId + "'>" + memb.id + "</a></span>"; - if (memb.default) str += " = <span class='idlMemberValue'>" + memb.default + "</span>" + if (memb.defaultValue) str += " = <span class='idlMemberValue'>" + memb.defaultValue + "</span>" str += ";</span>\n"; return str; },
Received on Tuesday, 13 September 2011 11:04:03 UTC