fix(example/url-viewer): do not interpolate content type
This commit is contained in:
parent
0c48002ada
commit
b559d6567c
|
@ -68,7 +68,7 @@
|
||||||
|
|
||||||
log('attempting to open <' + url + '>');
|
log('attempting to open <' + url + '>');
|
||||||
|
|
||||||
$.get(url, function(xml) {
|
$.ajax(url, { dataType : 'text' }).done(function(xml) {
|
||||||
|
|
||||||
viewer.importXML(xml, function(err) {
|
viewer.importXML(xml, function(err) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue