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

ReSpec configuration defaulting

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 18 Oct 2010 19:34:36 +1300
To: spec-prod@w3.org
Message-ID: <20101018063436.GA20338@wok.mcc.id.au>
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. :)

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 18 October 2010 06:35:16 GMT

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