PageRenderTime 102ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 40ms 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
13  initComponent: function() {
14    Ext.applyIf(this, {
15      $0
16    });
17    
18    ${1:MyNamespace.}${2:${TM_FILENAME/(.+)\.js$/$1/}}.superclass.initComponent.apply(this, arguments);
19  }
20});