Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update doc [ci skip]

  • Loading branch information...
commit 457020a0aba25c8bdcfe883d94880e0e0d7016c7 1 parent c043a40
@cantino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/agents/java_script_agent.rb
View
2  app/models/agents/java_script_agent.rb
@@ -8,7 +8,7 @@ class JavaScriptAgent < Agent
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:<name>` (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:
Please sign in to comment.
Something went wrong with that request. Please try again.