Re: Uncaught ReferenceError: wgCommentsObjects is not defined

Finally fixed this!!

Here’s the nitty gritty: http://project.webplatform.org/skin/issues/39#comment_640

Cheers,
Lea

Lea Verou
W3C developer relations
http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou






On Jun 11, 2013, at 05:33, Lea Verou <lea@w3.org> wrote:

> Hi everyone,
> 
> After the recent MW update, it looks like none of the JS in skins/webplatform/webplatform.js is running, including the TOC on pages.
> I’ve tracked the issue down somewhat: It seems that MW minifies & bundles all the scripts together in the same file (for perf), which means when something throws an error earlier on, nothing gets executed after that. The error is "Uncaught ReferenceError: wgCommentsObjects is not defined". I don’t know which line or file, as the browser reports the error that the minified file threw. 
> I tried to grep our files to find where wgCommentsObjects is, but it took ages and had to kill it.
> Does anyone know which file this is in? 
> If you know how to fix it too, even better, but just finding it right now would be of huge help.
> 
> Thanks!
> 
> Cheers,
> Lea
> 
> Lea Verou
> W3C developer relations
> http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou
> 
> 
> 
> 
> 
> 

Received on Wednesday, 3 July 2013 16:53:26 UTC