Skip to content

Commit

Permalink
Adds a gfunc snippet.
Browse files Browse the repository at this point in the history
Signed-off-by: Yesudeep Mangalapilly <yesudeep@google.com>
  • Loading branch information
yesudeep committed May 10, 2012
1 parent f7dbbd9 commit b9e2c93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions snippets/text-mode/javascript-mode/gfunc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: ... = function (...) { ... };
# contributor: Yesudeep Mangalapilly <yesudeep@google.com>
# --
/**
* ${1:Short documentation.}
*/
${2:name} = function ($3){
$0
};

0 comments on commit b9e2c93

Please sign in to comment.