Permalink
Browse files

Edit documentation last in js snippets.

  • Loading branch information...
1 parent a7ac15d commit 3780aeece480bf4ae8889b69fd81cc257b79ad45 @gorakhargosh committed May 10, 2012
@@ -2,6 +2,6 @@
# name: Anonymous function (lambda)
# contributor: Yesudeep Mangalapilly <yesudeep@google.com>
# --
-function ($1){
+function($1) {
$0
}
@@ -1,10 +1,10 @@
# -*- mode: snippet -*-
-# name: ... = function (...) { ... };
+# name: ... = function(...) { ... };
# contributor: Yesudeep Mangalapilly <yesudeep@google.com>
# --
/**
- * ${1:Short documentation.}
+ * ${3:Short documentation.}
*/
-${2:name} = function ($3){
+${1:name} = function($2) {
$0
};
@@ -3,8 +3,8 @@
# contributor: Yesudeep Mangalapilly <yesudeep@google.com>
# --
/**
- * ${1:Documentation.}
+ * ${3:Documentation.}
*/
-function ${2:name}($3){
+function ${1:name}($2) {
$0
}

0 comments on commit 3780aee

Please sign in to comment.