Skip to content

Commit

Permalink
bugfix when wf:wire(#api) is followed by another wire command
Browse files Browse the repository at this point in the history
Just when you thought semicolons were optional in javascript
  • Loading branch information
choptastic committed Jul 10, 2011
1 parent 632629b commit 3da5965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/action_api.erl
Expand Up @@ -14,7 +14,7 @@ render_action(Record) ->
wf:f("obj('~s').~s = function() {", [Anchor, Name]),
"var s = Nitrogen.$encode_arguments_object(arguments);",
#event { postback=Tag, delegate=?MODULE, extra_param="s" },
"}"
"};"
].

event({api_event, Record}) ->
Expand Down

0 comments on commit 3da5965

Please sign in to comment.