PageRenderTime 16ms CodeModel.GetById 6ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/modules/mod_base/actions/action_base_effect.erl

https://code.google.com/p/zotonic/
Erlang | 25 lines | 5 code | 3 blank | 17 comment | 0 complexity | 592b651c90ad640cc44e88e92d351433 MD5 | raw file
 1%% @author Marc Worrell <marc@worrell.nl>
 2%% @copyright 2009 Marc Worrell
 3%%
 4%% Based on code copyright (c) 2008-2009 Rusty Klophaus
 5
 6%% Copyright 2009 Marc Worrell
 7%%
 8%% Licensed under the Apache License, Version 2.0 (the "License");
 9%% you may not use this file except in compliance with the License.
10%% You may obtain a copy of the License at
11%% 
12%%     http://www.apache.org/licenses/LICENSE-2.0
13%% 
14%% Unless required by applicable law or agreed to in writing, software
15%% distributed under the License is distributed on an "AS IS" BASIS,
16%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17%% See the License for the specific language governing permissions and
18%% limitations under the License.
19
20-module(action_base_effect).
21-include("zotonic.hrl").
22-export([render_action/4]).
23
24render_action(TriggerId, TargetId, Args, Context) ->
25	action_base_jquery_effect:render_action(TriggerId, TargetId, [{type,effect}|Args], Context).