oops bad debugging assert left in

This commit is contained in:
Adam D. Ruppe 2015-01-14 23:54:49 -05:00
parent ba7b65a804
commit 1a2dc702c0
1 changed files with 2 additions and 2 deletions

4
dom.d
View File

@ -1274,7 +1274,8 @@ class Element {
string where = a.href; // same as a.getAttribute("href"); string where = a.href; // same as a.getAttribute("href");
*/ */
// name != "popFront" is so duck typing doesn't think it's a range // 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) if(v !is null)
setAttribute(name, v); setAttribute(name, v);
return getAttribute(name); return getAttribute(name);
@ -3492,7 +3493,6 @@ class Document : FileResource {
// this is a template so we get lazy import behavior // this is a template so we get lazy import behavior
Utf8Stream handleDataEncoding()(in string rawdata, string dataEncoding, bool strict) { Utf8Stream handleDataEncoding()(in string rawdata, string dataEncoding, bool strict) {
static assert(0);
import arsd.characterencodings; import arsd.characterencodings;
// gotta determine the data encoding. If you know it, pass it in above to skip all this. // gotta determine the data encoding. If you know it, pass it in above to skip all this.
if(dataEncoding is null) { if(dataEncoding is null) {