Browse files

update doc [ci skip]

  • Loading branch information...
1 parent c043a40 commit 457020a0aba25c8bdcfe883d94880e0e0d7016c7 @cantino cantino committed Feb 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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:

0 comments on commit 457020a

Please sign in to comment.