瀏覽代碼

update docs

master
Jonathan Cobb 3 年之前
父節點
當前提交
4fd52067db
共有 2 個文件被更改,包括 5 次插入3 次删除
  1. +0
    -3
      docs/complex_example.md
  2. +5
    -0
      docs/running.md

+ 0
- 3
docs/complex_example.md 查看文件

@@ -8,9 +8,6 @@ If you have other JSON-aware tools that need to read JVLC files, you may not
want to use this comment syntax. The `asset` and `operation` JSON objects also
support a `comment` field, which can be used as well.

<sub><sup>Doug C: I promise these will always be just comments; jvc will never
use [comments as parsing directives or otherwise break interoperability](https://web.archive.org/web/20120507155137/https://plus.google.com/118095276221607585885/posts/RK8qyGVaGSr) (note: disable javascript to view this link)</sup></sub>

```js
{
"assets": [


+ 5
- 0
docs/running.md 查看文件

@@ -47,6 +47,11 @@ Unlike most JSON, comments *are* allowed in JVC spec files:
* A line comment starts with `//` and continue to the end of the line
* A multi-line block starts with `/*` and ends with `*/`

<sub><sup>Doug C: I promise that in jvc comments will always be just comments;
jvc will never use
[comments as parsing directives or otherwise break interoperability](https://web.archive.org/web/20120507155137/https://plus.google.com/118095276221607585885/posts/RK8qyGVaGSr)
(note: disabling javascript required to view link)</sup></sub>

## Writing a JVC Spec
The easiest way to write a spec is to copy one of the
[test specs](../src/test/resources/tests) and edit it.


Loading…
取消
儲存