diff options
author | Loïc Hoguin <[email protected]> | 2012-08-27 12:16:07 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-27 12:16:07 +0200 |
commit | a5e75219f0bb9602178314a00eb9e0f9c22bcac6 (patch) | |
tree | d09cce41044ae6d6995a92b2a24126451925f0a6 /src/cowboy_cookies.erl | |
parent | e4124de2c71564d37b3732ede0fe1542de1d6f99 (diff) | |
download | cowboy-a5e75219f0bb9602178314a00eb9e0f9c22bcac6.tar.gz cowboy-a5e75219f0bb9602178314a00eb9e0f9c22bcac6.tar.bz2 cowboy-a5e75219f0bb9602178314a00eb9e0f9c22bcac6.zip |
Have only one -export and -export_type per line
This should make easier spotting additions and removals in commits.
Diffstat (limited to 'src/cowboy_cookies.erl')
-rw-r--r-- | src/cowboy_cookies.erl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cowboy_cookies.erl b/src/cowboy_cookies.erl index 5ab27e2..4accf14 100644 --- a/src/cowboy_cookies.erl +++ b/src/cowboy_cookies.erl @@ -17,7 +17,10 @@ -module(cowboy_cookies). --export([parse_cookie/1, cookie/3, cookie/2]). %% API. +%% API. +-export([parse_cookie/1]). +-export([cookie/3]). +-export([cookie/2]). %% Types. -type kv() :: {Name::binary(), Value::binary()}. @@ -26,7 +29,10 @@ | {local_time, calendar:datetime()} | {domain, binary()} | {path, binary()} | {secure, true | false} | {http_only, true | false}. --export_type([kv/0, kvlist/0, cookie_option/0]). + +-export_type([kv/0]). +-export_type([kvlist/0]). +-export_type([cookie_option/0]). -define(QUOTE, $\"). |