未验证 提交 1b6314cf 编写于 作者: A Avi Aryan

doc improvements

上级 224f4d97
......@@ -56,7 +56,7 @@ config
goja({"filename":"transform.js"})
```
transform function (i.e. `transform.js`)
transform function in `transform.js`
```js
function transform(doc) {
......@@ -76,3 +76,6 @@ message out
"name_type": "abc software"
}
```
**NOTE** - All JavaScript files using goja should have a function named `transform` that handles the transformation.
No other function name will work.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册