/javascript-mode/commons_proto
http://github.com/ridgetang/snippets · #! · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · 0221954ae318602e7d889c0c3526f7c5 MD5 · raw file
- # name : proto
- # key : proto
- # group : commons
- # contributor : crazycode@gmail.com
- # This was cloned from a TextMate bundle for yasnippet.
- # --
- ${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {
- ${0:// body...}
- };