/javascript-mode/extjs.bfe

http://github.com/ridgetang/snippets · Unknown · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · aea93e13775f9bc0135161acbaf94c55 MD5 · raw file

  1. # name : if(this.fireEvent(...)){...}
  2. # key : bfe
  3. # group : extjs
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. if (${1:this}.fireEvent('${2:eventName}'${3:, ${4:params}})) {
  8. $0
  9. }