/javascript-mode/extjs_temptask

http://github.com/ridgetang/snippets · #! · 10 lines · 10 code · 0 blank · 0 comment · 0 complexity · 93e41dd7c5eb0bb25fb8e41bb2083b60 MD5 · raw file

  1. # name : temptask
  2. # key : temptask
  3. # group : extjs
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. var ${1:tempTask} = new Ext.util.DelayedTask(${2:function() {
  8. ${5}
  9. \}}, ${3:this});
  10. ${1}.delay(${4:1000});${0}