There should be no space between the name of a function and the "("
See here: http://javascript.crockford.com/code.html
This commit is contained in:
parent
15ab315ff9
commit
18e3c9f881
@ -6,7 +6,7 @@ snippet proto
|
|||||||
};
|
};
|
||||||
# Function
|
# Function
|
||||||
snippet fun
|
snippet fun
|
||||||
function ${1:function_name} (${2:argument}) {
|
function ${1:function_name}(${2:argument}) {
|
||||||
${3:// body...}
|
${3:// body...}
|
||||||
}
|
}
|
||||||
# Anonymous Function
|
# Anonymous Function
|
||||||
|
Loading…
Reference in New Issue
Block a user