/javascript-mode/extjs.confirm

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

  1. # name : Ext.Msg.confirm(...)
  2. # key : confirm
  3. # group : extjs
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. Ext.Msg.confirm(
  8. '${1:чбошод}',
  9. '${2:description}',
  10. function(btn) {
  11. if (btn == 'yes') {
  12. $0
  13. }
  14. },
  15. ${3:this}
  16. );