/javascript-mode/extjs_ifnu

http://github.com/ridgetang/snippets · #! · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · 22e5c41b4daf039736c27d5c8045cee1 MD5 · raw file

  1. # name : ifnu
  2. # key : ifnu
  3. # group : extjs
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. if (${1:myObject} != undefined) ${2:{
  8. $0
  9. \}}