W3C home > Mailing lists > Public > spec-prod@w3.org > October to December 2010

Re: ReSpec configuration defaulting

From: Robin Berjon <robin@berjon.com>
Date: Mon, 18 Oct 2010 12:20:06 +0200
Cc: spec-prod@w3.org
Message-Id: <B48D32B4-5A81-462E-99EF-6DDC4DBFA852@berjon.com>
To: Cameron McCormack <cam@mcc.id.au>
Hi Cam,

On Oct 18, 2010, at 08:34 , Cameron McCormack wrote:
> Hi.  Iím trying out ReSpec.  There are lines like this in
> http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js:
> 
>  if (!cfg.inlineCSS) cfg.inlineCSS = true;
> 
> Shouldnít these be something like:
> 
>  if (cfg.inlineCSS !== undefined) cfg.inlineCSS = true;
> 
> ?  Itís preventing me from setting inlineCSS to false. :)

Yes, that's a (blatant) bug! Feel free to fix it straight in CVS (you have access), otherwise I will get to it later today.

Note though that you can't publish to /TR/ while pointing to stylesheets in dev.w3 so this often needs to be turned on for release drafts (which is why I suspect no one noticed the bug before).

-- 
Robin Berjon - http://berjon.com/
Received on Monday, 18 October 2010 10:20:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:17 GMT