From 1a2dc702c0716e9d607907d8982c28ad30b19cd5 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Wed, 14 Jan 2015 23:54:49 -0500 Subject: [PATCH] oops bad debugging assert left in --- dom.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom.d b/dom.d index f5d3b1a..f52a2c3 100644 --- a/dom.d +++ b/dom.d @@ -1274,7 +1274,8 @@ class Element { string where = a.href; // same as a.getAttribute("href"); */ // name != "popFront" is so duck typing doesn't think it's a range - @property string opDispatch(string name)(string v = null) if(name != "popFront") { + // deprecated("use element.attr instead") + @property string opDispatch(string name)(string v = null) if(name != "popFront" && name != "opCall") { if(v !is null) setAttribute(name, v); return getAttribute(name); @@ -3492,7 +3493,6 @@ class Document : FileResource { // this is a template so we get lazy import behavior Utf8Stream handleDataEncoding()(in string rawdata, string dataEncoding, bool strict) { - static assert(0); import arsd.characterencodings; // gotta determine the data encoding. If you know it, pass it in above to skip all this. if(dataEncoding is null) {