/javascript-mode/extjs_epanel
http://github.com/ridgetang/snippets · #! · 20 lines · 18 code · 2 blank · 0 comment · 0 complexity · ce24c4eded3edcdef6019fc9c981d299 MD5 · raw file
- # name : epanel
- # key : epanel
- # group : extjs
- # contributor : crazycode@gmail.com
- # This was cloned from a TextMate bundle for yasnippet.
- # --
- /**
- * @class ${1:MyNamespace.}${2:${TM_FILENAME/(.+)\.js$/$1/}}
- * @extends Ext.Panel
- */
- ${1:MyNamespace.}${2:${TM_FILENAME/(.+)\.js$/$1/}} = Ext.extend(Ext.Panel, {
-
- initComponent: function() {
- Ext.applyIf(this, {
- $0
- });
-
- ${1:MyNamespace.}${2:${TM_FILENAME/(.+)\.js$/$1/}}.superclass.initComponent.apply(this, arguments);
- }
- });