raml-org/raml-js-parser — pull request #105 by dariusk (2014-05-21 19:06:01+00:00)
Title: Updating inline RAML examples

The README was out of date with the current version of the `raml-js-parser` hosted on `npmjs.org` (which matches the Github repo's version number, so I assume they're synced). The parser requires a a `'#%RAML 0.8'` string in the first line. I added that, but then it also threw the following once the version string was added:

```
Error parsing: while validating resources
property: 'name' is invalid in a resource
```

By changing the resource name to the explicit value (rather than the key-value pair that seems to be in the current docs), it seems to parse correctly as valid RAML.