/javascript-mode/extjs_prop

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

  1. # name : prop
  2. # key : prop
  3. # group : extjs
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. /**
  8. * @property ${1:propertyName}
  9. * @type ${2:Boolean}
  10. * ${3:Description}
  11. */
  12. ${4:this.$1} = ${5:new ${2:Boolean}({
  13. $0
  14. \})};