1

I am maintaining a legacy web application that is built on top of the following stack:

  • Server side
    • NGINX
    • Tornado
  • Client side
    • RequireJS
    • jQuery
    • Backbone

Everything works fine in Firefox and Chrome, but in IE9, calling require inside a function to dynamically load a module causes a timeout. With the JavaScript console opened to look for errors it works fine (and there are no errors logged).

Any ideas?

Sebastian Simon
  • 18,263
  • 7
  • 55
  • 75
fortran
  • 74,053
  • 25
  • 135
  • 175

1 Answers1

3

Activated developer tools usually affect your page and javascript with at least two things:
1) console.*() functions are available while dev tools are open (usually it's because of forgotten console.log() in your code. I recommend console.log wrapper)
2) different than default IE rendering engine version selected. Check your Doctype and X-UA-Compatible meta tag value.

Also check this: Does IE9 enable 'something' when using developer tools?

Community
  • 1
  • 1
Māris Kiseļovs
  • 16,957
  • 5
  • 41
  • 48
  • that was it! a lone console.log... you saved my day :D – fortran Sep 11 '12 at 14:10
  • I had the same problem with a lone console.log() call. It caused more mayhem than expected in our event driven UI. IE...sigh...just....sigh... – JoshNaro Oct 12 '12 at 13:27