PageRenderTime 222ms CodeModel.GetById 101ms app.highlight 0ms RepoModel.GetById 120ms app.codeStats 0ms

/javascript-mode/extjs_bfefe

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