sencha -sdk ~/mylib/touch/touch-2.3.1 generate app App .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.define("MyApp.view.edit.Edit",{ | |
extend: "Ext.form.Panel", | |
xtype: 'myedit', | |
viewModel: { | |
type: "edit-edit" | |
}, | |
bodyPadding: 10, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
displayTpl : [ | |
'<tpl for=".">', | |
'{[typeof values === "string" ? values : values["id"]]}', | |
" : ", | |
'{[typeof values === "string" ? values : values["name"]]}', | |
'<tpl if="xindex < xcount">, </tpl>', | |
'</tpl>' | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* xFrameworkPX_Controller_Excel Class File | |
* | |
* PHP versions 5 | |
* | |
* @category xFrameworkPX | |
* @package xFrameworkPX_Controller | |
* @author NAKAMURA, Hisashi <hisashi@sunvisor.net> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
/** | |
* Create xFrameworkPX / Ext JS 4 Application | |
* xFrameworkPX / Ext JS 4 アプリケーションの骨組みを作ります | |
* File: buildPxApp.php | |
* Auther: sunvisor | |
* Date: 2011-09-30 | |
* Copyright (C) Sunvisor 2011 All right reserved. | |
**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snippet app | |
Ext.application({ | |
name: '${1:AppName}', | |
autoCreateViewport: true, | |
controllers: [ | |
'Controller' | |
], | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Using override config in Ext.define class (Ext JS 4.1) | |
*/ | |
Ext.onReady(function () { | |
Ext.define('MyWindow', { | |
extend: 'Ext.window.Window', | |
width: 300, | |
height: 200, | |
title: 'test', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>ggrid</title> | |
<script src="http://cdn.sencha.com/ext/gpl/4.2.1/ext-all.js"></script> | |
<link rel="stylesheet" href="http://cdn.sencha.com/ext/gpl/4.2.1/resources/ext-theme-classic/ext-theme-classic-all.css"> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Japanese locale file for Sencha Touch 2 | |
* File: ext-lang-ja.js | |
* Auther: sunvisor/Xenophy (hisashi.nakamura@xenophy.com) | |
* history: 2012-09-15 Prototype Version (test is not completed) | |
**/ | |
Ext.onReady(function() { | |
var cm = Ext.ClassManager, | |
exists = Ext.Function.bind(cm.get, cm); |
OlderNewer