/javascript-mode/extjs_textfield

http://github.com/ridgetang/snippets · #! · 11 lines · 11 code · 0 blank · 0 comment · 0 complexity · 6e67c39365aea594a62b1bf85ca8e215 MD5 · raw file

  1. # name : textfield
  2. # key : textfield
  3. # group : extjs
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. {
  8. xtype: 'textfield',
  9. fieldLabel: '${1:Label}',
  10. name: '${2:${1/(.*)/\l$1/}}'
  11. }$0