Board Thread:Support Requests - Getting Technical/@comment-3032314-20131222001721/@comment-11733175-20131222030428

That would be my code ;)

You are correct, they do the same thing. I believe there is a bug in some version of IE that may cause this.foo and foo to be different but that's not the reason. It's purely to avoid errors jshint will throw.

One way around this is a global header (there's probably one in the common.js near the top). It'll look something like this: /*global jQuery:true, mediaWiki:true, etc.

The other is to declare them as extensions of the global window object, here referred to as. I tend to use it to catch any misspelt variables I may have added, but it's purely a cosmetic thing as far as running the code goes.

Edit: This is the bug I meant with regards to IE. If I understand it correctly, It shouldn't be the cause any errors with either implementation.