|
@@ -1,11 +1,10 @@
|
|
|
-module(wf_event).
|
|
|
-author('Maxim Sokhatsky').
|
|
|
-author('Andrey Martemyanov').
|
|
|
+-include_lib ("n2o/include/n2o.hrl").
|
|
|
-include_lib ("nitro/include/nitro.hrl").
|
|
|
-compile(export_all).
|
|
|
|
|
|
--record(ev, { module, msg, trigger, name }).
|
|
|
-
|
|
|
-define(B(E), nitro:to_binary(E)).
|
|
|
-define(L(E), nitro:to_list(E)).
|
|
|
target({qs,S}) -> ["qs('",nitro:js_escape(?L(S)), "')"];
|