Skip to content

Commit

Permalink
Merge pull request #97 from lorancou/master
Browse files Browse the repository at this point in the history
Fix "not well-formed" error in Firefox.
  • Loading branch information
oberhamsi committed Dec 14, 2015
2 parents b1b16ef + b941a61 commit f09bf3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/yabbler/yabble.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@

var xhr = this.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
var moduleUri = resolveModuleUri(moduleId);
xhr.overrideMimeType("application/json");
xhr.open('GET', moduleUri, true);
xhr.onreadystatechange = function() {
if (xhr.readyState === 4) {
Expand Down

0 comments on commit f09bf3e

Please sign in to comment.