mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Tiny code simplification.
This commit is contained in:
parent
1e7fab2cbc
commit
8a4fe7eb42
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ var PaperScript = new function() {
|
|||
var xhr = new (window.ActiveXObject || XMLHttpRequest)(
|
||||
'Microsoft.XMLHTTP');
|
||||
xhr.open('GET', url, true);
|
||||
if ('overrideMimeType' in xhr) {
|
||||
if (xhr.overrideMimeType) {
|
||||
xhr.overrideMimeType('text/plain');
|
||||
}
|
||||
xhr.onreadystatechange = function() {
|
||||
|
|
Loading…
Reference in a new issue