minor bugfix for browser use as per #10
This commit is contained in:
parent
d3fce04a34
commit
d87c3019fa
|
@ -210,6 +210,6 @@ pdns.unpack = function (ab) {
|
||||||
header.byteLength = total;
|
header.byteLength = total;
|
||||||
return header;
|
return header;
|
||||||
};
|
};
|
||||||
pdns.unpackRdata = require('./dns.rdata.parse.js').DNS_RDATA_PARSE;
|
pdns.unpackRdata = exports.DNS_RDATA_PARSE || require('./dns.rdata.parse.js').DNS_RDATA_PARSE;
|
||||||
|
|
||||||
}('undefined' !== typeof window ? window : exports));
|
}('undefined' !== typeof window ? window : exports));
|
||||||
|
|
Loading…
Reference in New Issue