PageRenderTime 43ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/javascript-mode/commons_f.2

http://github.com/ridgetang/snippets
Unknown | 9 lines | 9 code | 0 blank | 0 comment | 0 complexity | 3f1ddb8b5fa2b2113e5c2475d4b6610b MD5 | raw file
  1. # name : method_name:function(attr){..}
  2. # key : f.2
  3. # group : commons
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. ${1:method_name}: function(${2:attribute}){
  8. $0
  9. }${3:,}