Mercurial > eldonilo > blog
diff nothing.js @ 5:4d7a67349089
Finish the changing of name to Eldonilo.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 19 Sep 2011 02:00:55 -0700 |
parents | f62b5c395a48 |
children | 161d4ea1c3f8 |
line wrap: on
line diff
--- a/nothing.js +++ b/nothing.js @@ -7,8 +7,8 @@ parsers[''] = function(id, xml) { var toHTML = function(xml, date) { var article = document.createElementNS(ns.xhtml, 'article'); - article.setAttributeNS(ns.idq, 'id', id); - article.setAttributeNS(ns.idq, 'date', date.to8601()); + article.setAttributeNS(ns.e, 'id', id); + article.setAttributeNS(ns.e, 'date', date.to8601()); article.appendChild(document.createElementNS(ns.xhtml, 'h2').appendChild(document.createTextNode('This post is in an unknown namespace.'))); return article; };