update doc [ci skip]

Andrew Cantino 11 年之前
父节点
当前提交
457020a0ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/models/agents/java_script_agent.rb

+ 1 - 1
app/models/agents/java_script_agent.rb

@@ -8,7 +8,7 @@ module Agents
8 8
     description <<-MD
9 9
       This Agent allows you to write code in JavaScript that can create and receive events.  If other Agents aren't meeting your needs, try this one!
10 10
 
11
-      At the moment, all code should be written in the `code` option.  In the future, a full editor will be provided.
11
+      You can put code in the `code` option, or put your code in a Credential and reference it from `code` with `credential:<name>` (recommended).
12 12
 
13 13
       You can implement `Agent.check` and `Agent.receive` as you see fit.  The following methods will be available on Agent in the JavaScript environment:
14 14