PageRenderTime 28ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/javascript-mode/extjs_epanel

http://github.com/ridgetang/snippets
#! | 20 lines | 18 code | 2 blank | 0 comment | 0 complexity | ce24c4eded3edcdef6019fc9c981d299 MD5 | raw file
  1. # name : epanel
  2. # key : epanel
  3. # group : extjs
  4. # contributor : crazycode@gmail.com
  5. # This was cloned from a TextMate bundle for yasnippet.
  6. # --
  7. /**
  8. * @class ${1:MyNamespace.}${2:${TM_FILENAME/(.+)\.js$/$1/}}
  9. * @extends Ext.Panel
  10. */
  11. ${1:MyNamespace.}${2:${TM_FILENAME/(.+)\.js$/$1/}} = Ext.extend(Ext.Panel, {
  12. initComponent: function() {
  13. Ext.applyIf(this, {
  14. $0
  15. });
  16. ${1:MyNamespace.}${2:${TM_FILENAME/(.+)\.js$/$1/}}.superclass.initComponent.apply(this, arguments);
  17. }
  18. });