/javascript-mode/extjs_bfefe
http://github.com/ridgetang/snippets · #! · 11 lines · 10 code · 1 blank · 0 comment · 0 complexity · 14078e6353ca24140cd7a32682729291 MD5 · raw file
- # name : bfefe
- # key : bfefe
- # group : extjs
- # contributor : crazycode@gmail.com
- # This was cloned from a TextMate bundle for yasnippet.
- # --
- if (${1:this}.fireEvent('${3:before-${2:eventName}}'${4:, ${5:params}}) !== false) {
- $0
-
- ${1:this}.fireEvent('${2:eventName}'${6:${4:, ${5:params}}});
- }