From 457020a0aba25c8bdcfe883d94880e0e0d7016c7 Mon Sep 17 00:00:00 2001 From: Andrew Cantino Date: Tue, 11 Feb 2014 22:55:40 -0800 Subject: [PATCH] update doc [ci skip] --- app/models/agents/java_script_agent.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/agents/java_script_agent.rb b/app/models/agents/java_script_agent.rb index c5c1351a..7f4a37cf 100644 --- a/app/models/agents/java_script_agent.rb +++ b/app/models/agents/java_script_agent.rb @@ -8,7 +8,7 @@ module Agents description <<-MD 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! - At the moment, all code should be written in the `code` option. In the future, a full editor will be provided. + You can put code in the `code` option, or put your code in a Credential and reference it from `code` with `credential:` (recommended). You can implement `Agent.check` and `Agent.receive` as you see fit. The following methods will be available on Agent in the JavaScript environment: