Re: Local references in ReSpec

On 09/11/2012 18:32 , Frederick.Hirsch@nokia.com wrote:
> ok, I figured it out, no array.
>
> in case it helps anyone else, the correct syntax appears to be:
>
> var respecConfig = {
>   specStatus: "FPWD-NOTE",
>   localBiblio:  { "FOO" : "something" },
>   localBiblio:   { "BAR" : "something else"},
> publishDate" "2012-11-11",
> ...

No it's not! The correct syntax is a simple object, just like in biblio.js.

var respecConfig = {
   ...
   localBiblio: {
     FOO:  "stuff",
     BAR:  "other stuff",
   },
   ...
};

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Monday, 12 November 2012 15:23:46 UTC