Skip to content

Commit

Permalink
small formating changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejsliwa committed Jul 12, 2011
1 parent 7417f9e commit 6df7d3c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Snippets/Behaviour Directive.tmSnippet
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
Expand Down
6 changes: 3 additions & 3 deletions Snippets/Escript.tmSnippet
Expand Up @@ -9,9 +9,9 @@
%% @copyright ${TM_YEAR} ${TM_AUTHOR}
%% @doc ${1:description} ${2:name}.
%% @end
%% -module(${3:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).
-export([main/1]).
-define(CMD, filename:basename(escript:script_name())).
%% -module (${3:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).
-export ([main/1]).
-define (CMD, filename:basename(escript:script_name())).
%%%.
%%%' PUBLIC API
Expand Down
12 changes: 6 additions & 6 deletions Snippets/Eunit Module.tmSnippet
Expand Up @@ -9,14 +9,14 @@
%% @copyright ${TM_YEAR} ${TM_AUTHOR}
%% @doc EUnit test suite module ${1:name}.
%% @end
-module(${1:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).
-author('${TM_AUTHOR} &lt;${TM_AUTHOR_EMAIL}&gt;').
-module (${1:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).
-author ('${TM_AUTHOR} &lt;${TM_AUTHOR_EMAIL}&gt;').
-define(NOTEST, true).
-define(NOASSERT, true).
-include_lib("eunit/include/eunit.hrl").
-define (NOTEST, true).
-define (NOASSERT, true).
-include_lib ("eunit/include/eunit.hrl").
-define(MODNAME, ${1:name}).
-define (MODNAME, ${1:name}).
%%%.
%%%' TEST GENERATOR
-spec ${1:name}_test_() -&gt; [term()].
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Function.tmSnippet
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Include Directive.tmSnippet
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/Module.tmSnippet
Expand Up @@ -9,8 +9,8 @@
%% @copyright ${TM_YEAR} ${TM_AUTHOR}
%% @doc ${1:description} ${2:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}.
%% @end
-module(${2:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).
-export([]).
-module (${2:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).
-export ([]).
%%%.
%%%' PUBLIC API
Expand Down

0 comments on commit 6df7d3c

Please sign in to comment.