CreateJS / PreloadJS

PreloadJS makes preloading assets & getting aggregate progress events easier in JavaScript. It uses XHR2 when available, and falls back to tag-based loading when not.
http://createjs.com/
MIT License
2.87k stars 763 forks source link

XHRRequest: some doubts #134

Closed elderNosferatu closed 9 years ago

elderNosferatu commented 9 years ago

Sorry for my English and my GoogleTranslate :). I have some doubts about the piece of code:

  1. ...
  2. } else { // Old IE versions use a different approach
  3. ..for (var i = 0, l = s.ACTIVEX_VERSIONS.length; i < l; i++) {
  4. ....var axVersion /* Webstorm says: Unused local variable axVersion _/ = s.ACTIVEX_VERSIONS[i];
  5. ......try {
  6. ........req = new ActiveXObject(axVersions /_ Probably should be axVersion */);
  7. ........break;
  8. ...
lannymcnie commented 9 years ago

Thanks! We will check it out.