W3C home > Mailing lists > Public > public-webplatform@w3.org > July 2013

Re: Uncaught ReferenceError: wgCommentsObjects is not defined

From: Lea Verou <lea@w3.org>
Date: Wed, 3 Jul 2013 19:53:17 +0300
Message-Id: <29189638-3C65-4AA2-9EF6-1FA2D6C2F1C4@w3.org>
To: WebPlatform Community <public-webplatform@w3.org>, Ryan Lane <rlane32@gmail.com>, Denis Ah-Kang <denis@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:52 UTC