newsdev/archieml-js

Since commit a89c313... objects no longer "close" as they used to

adrian-the-git opened this issue · 0 comments

Prior to commit a98c313 the following archieml produced two objects and a top-level key:

{colors}
red: #f00
{numbers}
one: 1
{}
key: value

Like so:

{ colors: { red: '#f00' }, numbers: { one: '1' }, key: 'value' }

And since commit a98c313 objects seem to nest:

{ colors: { red: '#f00', key: 'value' }, numbers: { one: '1' } }

Is this intentional behavior? I don't see it in the spec, but it's now in the de-facto documentation since archieml.org is using archieml-js to display example code.