Commit 1cb9dbdc authored by Alexander Yuzhin's avatar Alexander Yuzhin

Remove Sencha Touch.

parent b3826780

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -99,7 +99,6 @@ module.exports = function(grunt) {
doRegisterTask('sockjs');
doRegisterTask('xregexp');
doRegisterTask('megapixel');
doRegisterTask('touch');
doRegisterTask('jquery');
doRegisterTask('underscore');
doRegisterTask('zeroclipboard');
......@@ -398,7 +397,6 @@ module.exports = function(grunt) {
grunt.registerTask('deploy-sockjs', ['sockjs-init', 'clean', 'copy']);
grunt.registerTask('deploy-xregexp', ['xregexp-init', 'clean', 'copy']);
grunt.registerTask('deploy-megapixel', ['megapixel-init', 'clean', 'copy']);
grunt.registerTask('deploy-touch', ['touch-init', 'clean', 'copy']);
grunt.registerTask('deploy-jquery', ['jquery-init', 'clean', 'copy']);
grunt.registerTask('deploy-underscore', ['underscore-init', 'clean', 'copy']);
grunt.registerTask('deploy-zeroclipboard', ['zeroclipboard-init', 'clean', 'copy']);
......
......@@ -328,16 +328,6 @@
}
}
},
"touch": {
"clean": [
"../../deploy/3rdparty/touch"
],
"copy": {
"script": {
"../../deploy/3rdparty/touch/": "../../3rdparty/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../../deploy/3rdparty/bootstrap"
......@@ -448,6 +438,6 @@
]
},
"tasks": {
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-touch deploy-3rdparty-megapixel deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-megapixel deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
}
}
\ No newline at end of file
......@@ -77,18 +77,6 @@ module.exports = function(grunt) {
});
});
grunt.registerTask('touch-init', function() {
grunt.initConfig({
clean: packageFile['touch']['clean'],
copy: {
script: {
files: packageFile['touch']["copy"]["script"]
}
}
});
});
grunt.registerTask('jquery-init', function() {
grunt.initConfig({
clean: packageFile['jquery']['clean'],
......@@ -307,7 +295,6 @@ module.exports = function(grunt) {
grunt.registerTask('deploy-3rdparty-bootstrap', 'bootstrap-init clean copy');
grunt.registerTask('deploy-3rdparty-extjs', 'extjs-init clean copy');
grunt.registerTask('deploy-3rdparty-megapixel', 'megapixel-init clean copy');
grunt.registerTask('deploy-3rdparty-touch', 'touch-init clean copy');
grunt.registerTask('deploy-3rdparty-jquery', 'jquery-init clean copy');
grunt.registerTask('deploy-3rdparty-sockjs', 'sockjs-init clean copy');
grunt.registerTask('deploy-3rdparty-xregexp', 'xregexp-init clean copy');
......@@ -380,7 +367,7 @@ module.exports = function(grunt) {
}
});
});
grunt.registerTask('init-obfuscate-api', 'Obfuscate api.', function(){
grunt.initConfig({
exec: {
......@@ -401,10 +388,10 @@ module.exports = function(grunt) {
}
});
});
grunt.registerTask('obfuscate-api', 'init-obfuscate-api exec');
grunt.registerTask('obfuscate-app', 'init-obfuscate-app exec');
grunt.registerTask('deploy-documenteditor', 'init-build-documenteditor deploy-app');
grunt.registerTask('deploy-spreadsheeteditor', 'init-build-spreadsheeteditor deploy-app');
grunt.registerTask('deploy-presentationeditor', 'init-build-presentationeditor deploy-app');
......@@ -412,59 +399,59 @@ module.exports = function(grunt) {
grunt.registerTask('obfuscate-documenteditor', 'deploy-documenteditor obfuscate-api obfuscate-app');
grunt.registerTask('obfuscate-spreadsheeteditor', 'deploy-spreadsheeteditor obfuscate-app');
grunt.registerTask('obfuscate-presentationeditor', 'deploy-presentationeditor obfuscate-api obfuscate-app');
grunt.registerTask('obfuscate-all', 'obfuscate-documenteditor obfuscate-spreadsheeteditor obfuscate-presentationeditor');
grunt.registerTask('init-deploy-isa209', 'Initialize deploy to isa209.', function(){
deployConfig = 'isa209.json';
deployFile = require('./' + deployConfig);
if (deployFile)
if (deployFile)
grunt.log.ok('isa209 config loaded successfully'.green);
else
grunt.log.error().writeln('Could not load config file'.red);
});
grunt.registerTask('init-deploy-testserver', 'Initialize deploy to testserver.', function(){
deployConfig = 'testserver.json';
deployFile = require('./' + deployConfig);
if (deployFile)
if (deployFile)
grunt.log.ok('testserver config loaded successfully'.green);
else
grunt.log.error().writeln('Could not load config file'.red);
});
grunt.registerTask('init-deploy-com', 'Initialize deploy to com.', function(){
deployConfig = 'com.json';
deployFile = require('./' + deployConfig);
if (deployFile)
if (deployFile)
grunt.log.ok('com config loaded successfully'.green);
else
grunt.log.error().writeln('Could not load config file'.red);
});
grunt.registerTask('init-deploy-com.eu', 'Initialize deploy to com.', function(){
deployConfig = 'com.eu.json';
deployFile = require('./' + deployConfig);
if (deployFile)
if (deployFile)
grunt.log.ok('com config loaded successfully'.green);
else
grunt.log.error().writeln('Could not load config file'.red);
});
grunt.registerTask('init-deploy-nct', 'Initialize deploy to nct.', function(){
deployConfig = 'nct.json';
deployFile = require('./' + deployConfig);
if (deployFile)
if (deployFile)
grunt.log.ok('nct config loaded successfully'.green);
else
grunt.log.error().writeln('Could not load config file'.red);
......@@ -472,15 +459,15 @@ module.exports = function(grunt) {
grunt.registerTask('init-deploy-doc-test', 'Initialize deploy to doc-test.', function(){
deployConfig = 'doc-test.json';
deployFile = require('./' + deployConfig);
if (deployFile)
if (deployFile)
grunt.log.ok('doc-test config loaded successfully'.green);
else
grunt.log.error().writeln('Could not load config file'.red);
});
grunt.registerTask('run-deploy-task', 'Run deploy task.', function(){
if (deployFile) {
if (deployFile['tasks']['deploy'])
......@@ -491,52 +478,52 @@ module.exports = function(grunt) {
grunt.log.error().writeln('Is not load configure file.'.red);
}
});
grunt.registerTask('insert-version-to-url', function() {
var dst_folder = 'v' + deployFile['version']['major'] + '.' + deployFile['version']['minor'];
if(undefined !== process.env['BUILD_NUMBER'])
{
grunt.log.ok('Use Jenkins build number as minor version!'.yellow);
grunt.log.ok('Use Jenkins build number as minor version!'.yellow);
dst_folder = 'v' + deployFile['version']['major'] + '.' + process.env['BUILD_NUMBER'];
}
//change current config:
//set version's named folder as rootDir for archived sources
if(undefined !== deployFile['compress'])
deployFile['compress']['dist']['options']['rootDir'] = dst_folder;
if(undefined !== deployFile['dst'])
deployFile['dst'] = deployFile['dst'] + '/' + dst_folder;
//add version's named folder to full path url
var full_url = deployFile['replace']['url']['options']['variables'];
for(var i in full_url){
for(var i in full_url){
full_url[i] = full_url[i] + dst_folder + '/';
}
});
grunt.registerTask('increment-deploy-version', function() {
var pkg = grunt.file.readJSON(deployConfig);
pkg.version.minor = parseInt(pkg.version.minor) + 1;
//write changes
grunt.file.write(deployConfig, JSON.stringify(pkg, null, 4));
});
grunt.registerTask('init-deploy-compress', function(){
grunt.initConfig({
pkg: '<json:' + deployConfig + '>',
compress: deployFile['compress']
});
});
grunt.registerTask('deploy-compress-all', 'init-deploy-compress');
grunt.registerTask('deploy-compress-all', 'init-deploy-compress');
grunt.registerTask('init-deploy-configure', 'Init configure task.', function(){
var replace_path_array = {};
if(deployFile['path']){
//Generate structure for the replace tasks
//for each pattern
......@@ -544,10 +531,10 @@ module.exports = function(grunt) {
//and for each file
for(var j in deployFile['path']['src_path']){
var replace_task_name = 'path_subtask_' + i + j;
replace_path_array[replace_task_name] = {};
replace_path_array[replace_task_name] = {};
replace_path_array[replace_task_name]['options'] = {};
var find = deployFile['path']['pattern'][i];
var replace = '';
//find the count of slash
var start_index = 0;
......@@ -565,14 +552,14 @@ module.exports = function(grunt) {
if(last_slash != -1)
replace = replace + deployFile['path']['src_path'][j].substring(0, last_slash + 1);
replace = replace + find;
replace_path_array[replace_task_name]['options']['variables'] = {};
replace_path_array[replace_task_name]['options']['variables'][find] = replace;
replace_path_array[replace_task_name]['options']['prefix'] = "";
var file = deployFile['path']['base_path'] + '/' + deployFile['path']['src_path'][j];
replace_path_array[replace_task_name]['files'] = {};
replace_path_array[replace_task_name]['files'][file] = file;
grunt.log.ok(JSON.stringify(replace_path_array[replace_task_name], null, 4).green);
grunt.log.ok(JSON.stringify(replace_path_array[replace_task_name], null, 4).green);
}
}
}
......@@ -580,7 +567,7 @@ module.exports = function(grunt) {
for(var i in deployFile['replace']){
replace_path_array[i] = deployFile['replace'][i];
}
grunt.initConfig({
pkg: deployFile,
pkg_origin: '<json:' + deployConfig + '>',
......@@ -592,12 +579,12 @@ module.exports = function(grunt) {
}
}
},
replace: replace_path_array
replace: replace_path_array
});
});
grunt.registerTask('deploy-configure-all', 'init-deploy-configure clean copy replace');
grunt.registerTask('deploy-configure-all', 'init-deploy-configure clean copy replace');
grunt.registerTask('deploy-to-isa209', 'init-deploy-isa209 run-deploy-task');
grunt.registerTask('deploy-to-testserver', 'init-deploy-testserver run-deploy-task');
grunt.registerTask('deploy-to-com', 'init-deploy-com run-deploy-task');
......@@ -605,6 +592,6 @@ module.exports = function(grunt) {
grunt.registerTask('deploy-to-nct', 'init-deploy-nct run-deploy-task');
grunt.registerTask('deploy-to-doc-test', 'init-deploy-doc-test run-deploy-task');
grunt.registerTask('deploy-to-all', 'deploy-to-isa209 deploy-to-testserver deploy-to-com deploy-to-com.eu deploy-to-nct deploy-to-doc-test');
grunt.registerTask('default', 'deploy-documenteditor deploy-spreadsheeteditor deploy-presentationeditor');
};
\ No newline at end of file
......@@ -300,16 +300,6 @@
}
}
},
"touch": {
"clean": [
"../../deploy/3rdparty/touch"
],
"copy": {
"script": {
"../../deploy/3rdparty/touch/": "../../3rdparty/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../../deploy/3rdparty/bootstrap"
......@@ -409,6 +399,6 @@
]
},
"tasks": {
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-touch deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
}
}
\ No newline at end of file
......@@ -315,16 +315,6 @@
}
}
},
"touch": {
"clean": [
"../../deploy/3rdparty/touch"
],
"copy": {
"script": {
"../../deploy/3rdparty/touch/": "../../3rdparty/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../../deploy/3rdparty/bootstrap"
......@@ -412,6 +402,6 @@
]
},
"tasks": {
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-touch deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
}
}
\ No newline at end of file
......@@ -425,17 +425,6 @@
]
}
},
"touch": {
"clean": [
"../deploy/web-apps/vendor/touch"
],
"copy": {
"script": {
"src": "../vendor/touch/sencha-touch-all.js",
"dest": "../deploy/web-apps/vendor/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../deploy/web-apps/vendor/bootstrap"
......@@ -611,7 +600,6 @@
"deploy-xregexp",
"deploy-requirejs",
"deploy-megapixel",
"deploy-touch",
"deploy-jquery",
"deploy-underscore",
"deploy-zeroclipboard",
......
......@@ -302,16 +302,6 @@
}
}
},
"touch": {
"clean": [
"../../deploy/3rdparty/touch"
],
"copy": {
"script": {
"../../deploy/3rdparty/touch/": "../../3rdparty/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../../deploy/3rdparty/bootstrap"
......@@ -397,6 +387,6 @@
}
},
"tasks": {
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-touch deploy-3rdparty-megapixel deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-megapixel deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
}
}
\ No newline at end of file
......@@ -75,18 +75,6 @@ module.exports = function(grunt) {
});
});
grunt.registerTask('touch-init', function() {
grunt.initConfig({
clean: packageFile['touch']['clean'],
copy: {
script: {
files: packageFile['touch']["copy"]["script"]
}
}
});
});
grunt.registerTask('jquery-init', function() {
grunt.initConfig({
clean: packageFile['jquery']['clean'],
......@@ -329,7 +317,6 @@ module.exports = function(grunt) {
grunt.registerTask('deploy-3rdparty-bootstrap', 'bootstrap-init clean copy');
grunt.registerTask('deploy-3rdparty-extjs', 'extjs-init clean copy');
grunt.registerTask('deploy-3rdparty-megapixel', 'megapixel-init clean copy');
grunt.registerTask('deploy-3rdparty-touch', 'touch-init clean copy');
grunt.registerTask('deploy-3rdparty-jquery', 'jquery-init clean copy');
grunt.registerTask('deploy-3rdparty-sockjs', 'sockjs-init clean copy');
grunt.registerTask('deploy-3rdparty-xregexp', 'xregexp-init clean copy');
......
......@@ -273,16 +273,6 @@
}
}
},
"touch": {
"clean": [
"../../deploy/3rdparty/touch"
],
"copy": {
"script": {
"../../deploy/3rdparty/touch/": "../../3rdparty/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../../deploy/3rdparty/bootstrap"
......@@ -358,6 +348,6 @@
}
},
"tasks": {
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-touch deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
}
}
\ No newline at end of file
......@@ -291,16 +291,6 @@
}
}
},
"touch": {
"clean": [
"../../deploy/3rdparty/touch"
],
"copy": {
"script": {
"../../deploy/3rdparty/touch/": "../../3rdparty/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../../deploy/3rdparty/bootstrap"
......@@ -376,6 +366,6 @@
}
},
"tasks": {
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-touch deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
"deploy": "increment-build deploy-api deploy-sdk deploy-3rdparty-bootstrap deploy-3rdparty-extjs deploy-3rdparty-jquery deploy-3rdparty-sockjs deploy-3rdparty-xregexp deploy-3rdparty-underscore deploy-3rdparty-zeroclipboard deploy-app-main deploy-app-mobile deploy-app-embed"
}
}
\ No newline at end of file
......@@ -322,17 +322,6 @@
]
}
},
"touch": {
"clean": [
"../deploy/web-apps/vendor/touch"
],
"copy": {
"script": {
"src": "../vendor/touch/sencha-touch-all.js",
"dest": "../deploy/web-apps/vendor/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../deploy/web-apps/vendor/bootstrap"
......@@ -507,7 +496,6 @@
"deploy-xregexp",
"deploy-requirejs",
"deploy-megapixel",
"deploy-touch",
"deploy-jquery",
"deploy-underscore",
"deploy-zeroclipboard",
......
......@@ -352,17 +352,6 @@
]
}
},
"touch": {
"clean": [
"../deploy/web-apps/vendor/touch"
],
"copy": {
"script": {
"src": "../vendor/touch/sencha-touch-all.js",
"dest": "../deploy/web-apps/vendor/touch/sencha-touch-all.js"
}
}
},
"bootstrap": {
"clean": [
"../deploy/web-apps/vendor/bootstrap"
......@@ -525,7 +514,6 @@
"deploy-xregexp",
"deploy-requirejs",
"deploy-megapixel",
"deploy-touch",
"deploy-jquery",
"deploy-underscore",
"deploy-zeroclipboard",
......
<!DOCTYPE html>
<head>
<style>
h1 {font-family: Calibri; font-size: 18pt;}
h2 {font-family: Calibri; font-size: 14pt;}
h3 {font-family: Calibri; font-size: 12pt;}
body {font-family: Calibri; font-size: 11pt;}
</style>
</head>
<body style="width: 700px">
<a href="http://sencha.com"><span style="left: 50px"></span><img src="SenchaLogo.png" width="110" height="40" /></a>
<h1>Sencha Touch Setup Guide</h1>
<p><b>Topics:</b></p>
<ul>
<li><a href="Intro">Introduction</a></li>
<li><a href="Install">Installing Sencha Touch</a></li>
<li><a href="Info">Sencha Touch Information</a></li>
</ul>
<a name="Intro"></a>
<h2>Introduction</h2>
<p>Sencha Touch, a high-performance HTML5 mobile application framework, is the cornerstone
of the Sencha HTML5 platform. Built for enabling world-class user experiences,
Sencha Touch is the only framework that enables developers to build powerful apps
that work on iOS, Android, BlackBerry, Windows Phone, and Internet Explorer 10.
<br>Learn more at <a href="http://docs.sencha.com/touch/#!/guide/whats_new">What's New</a>.
<br>Learn about new APIs in the "New in this version"
section near the end of the <a href="http://docs.sencha.com/touch/#!/api">API page</a>.</p>
<a name="Install"></a>
<h2>Installing Sencha Touch</h2>
<p>To install Sencha Touch:</p>
<ol>
<li>Download <a href="http://www.sencha.com/products/sencha-cmd/download">Sencha Cmd</a>.
Sencha Cmd enables you to publish, package, and simulate an application, as well as to upgrade Sencha software.
Sencha Cmd also installs Apache Ant, Compass, and Sass.</li>
<li>Download <a href="http://www.ruby-lang.org/en/downloads/">Ruby</a>
<ul>
<li><b>Mac OS</b>: Ruby is pre-installed. You can verify
it with the <b>ruby -v</b> command.</li>
<li><b>Windows</b> Download the open source <a href="http://www.7-zip.org">7-Zip</a> archiver.
Download Ruby (any version) from <a href="http://rubyinstaller.org/downloads/">rubyinstaller.org</a>.
Set the Path environment variable to point to the directory in which you unzip the installer file.</li>
<li><b>Ubuntu</b>: Use <b>sudo apt-get install ruby2.0.0</b> to download and install Ruby.</li>
</ul>
</li>
<li>Start your web server.
If using the Sencha Cmd web server, change directory to where you want to serve
your application, open a new command line window and start the server with the
<b>sencha&nbsp;web&nbsp;start</b> command. You can stop the server by typing
CTRL+c or opening another command line and typing the <b>sencha&nbsp;web&nbsp;stop</b> command.
You can access the Sencha Cmd web server using
the <code>http://localhost:1841/&lt;app_name&gt;</code> URL.</li>
<li>If you are using Windows and running the IIS web server, add "application/x-json"
as a MIME type; otherwise, IIS returns the JSON file with an error when you preview
your project. In Windows, enable IIS from the add/remove programs or programs and features dialog
(add/remove windows features), you can also add extra functionality by downloading the web platform
toolkit to make config of IIS features extra simple.
For information on adding this MIME type, see this
<a href="http://stackoverflow.com/a/1121114/273985">Stackoverflow article</a>.</li>
<li>Use a modern web browser such as
<a href="https://www.google.com/intl/en/chrome/browser">Chrome</a>
or <a href="http://www.apple.com/safari/">Safari</a>.</li>
</ol>
<a name="Info"></a>
<h2>Sencha Touch Information</h2>
<ul>
<li><a href="http://sencha.com/">Sencha.com</a></li>
<li><a href="http://docs.sencha.com/">Sencha Documentation</a></li>
<li><a href="release-notes.html">Sencha Touch Release Notes</a></li>
<li><a href="examples/">Sencha Touch Examples</a></li>
<li><a href="http://www.sencha.com/products/touch-bundle/">Sencha Touch Bundle</a></li>
<li><a href="http://www.sencha.com/training/">Sencha Training</a></li>
<li><a href="http://www.sencha.com/support/">Sencha Support</a></li>
</ul>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="1;url=examples/">
<title>Welcome to Sencha Touch 2</title>
<script type="text/javascript">
window.location = "examples/";
</script>
</head>
<body></body>
</html>
Sencha Touch & Sencha Touch Charts - JavaScript Libraries
Copyright (c) 2010-2015, Sencha, Inc.
All rights reserved.
licensing@sencha.com
http://www.sencha.com/products/touch/license.php
Open Source License
------------------------------------------------------------------------------------------
This version of Sencha Touch and Sencha Touch Charts is licensed under the terms of the Open
Source GPL 3.0 license.
http://www.gnu.org/licenses/gpl.html
There are several FLOSS exceptions available for use with this release for
open source applications that are distributed under a license other than the GPL.
* Open Source License Exception for Applications
http://www.sencha.com/products/floss-exception.php
* Open Source License Exception for Development
http://www.sencha.com/products/ux-exception.php
Alternate Licensing for Sencha Touch
------------------------------------------------------------------------------------------
Commercial and OEM Licenses are available for an alternate download of Sencha Touch.
This is the appropriate option if you are creating proprietary applications and you are
not prepared to distribute and share the source code of your application under the
GPL v3 license. Please visit http://www.sencha.com/store/touch/license.php for more details.
Alternate Licensing for Sencha Touch Charts
------------------------------------------------------------------------------------------
Commercial and OEM Licenses are available for an alternate download of Sencha Touch Charts.
This is the appropriate option if you are creating proprietary applications and you are
not prepared to distribute and share the source code of your application under the
GPL v3 license.
Sencha Touch Charts is available commercially only as a part of Sencha Complete or Sencha
Complete Team. Please visit http://www.sencha.com/products/complete/license or
http://www.sencha.com/products/complete-team/license for more details.
Third Party Content
------------------------------------------------------------------------------------------
The following third party software is distributed with Sencha Touch and is
provided under other licenses and/or has source available from other locations.
Library: JSON parser
License: Public Domain
Location: http://www.JSON.org/js.html
Library: flexible-js-formatting - date parsing and formatting
License: MIT
Location: http://code.google.com/p/flexible-js-formatting/
Library: Jasmine Š unit testing
License: MIT
Location: https://github.com/pivotal/jasmine
--
THIS SOFTWARE IS DISTRIBUTED "AS-IS" WITHOUT ANY WARRANTIES, CONDITIONS AND REPRESENTATIONS WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, MERCHANTABLE QUALITY, FITNESS FOR A PARTICULAR PURPOSE, DURABILITY, NON-INFRINGEMENT, PERFORMANCE AND THOSE ARISING BY STATUTE OR FROM CUSTOM OR USAGE OF TRADE OR COURSE OF DEALING.
\ No newline at end of file
/**
* Sencha Blink - Development
* @author Jacky Nguyen <jacky@sencha.com>
*/
(function() {
var head = document.head;
function write(content) {
document.write(content);
}
function addMeta(name, content) {
var meta = document.createElement('meta');
meta.setAttribute('name', name);
meta.setAttribute('content', content);
head.appendChild(meta);
}
var xhr = new XMLHttpRequest();
xhr.open('GET', 'app.json', false);
xhr.send(null);
var options = eval("(" + xhr.responseText + ")"),
scripts = options.js || [],
styleSheets = options.css || [],
i, ln, path, platform, theme, exclude;
if(options.platform && options.platforms && options.platforms[options.platform] && options.platforms[options.platform].js) {
scripts = options.platforms[options.platform].js.concat(scripts);
}
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement("style");
msViewportStyle.appendChild(
document.createTextNode(
"@media screen and (orientation: portrait) {" +
"@-ms-viewport {width: 320px !important;}" +
"}" +
"@media screen and (orientation: landscape) {" +
"@-ms-viewport {width: 560px !important;}" +
"}"
)
);
document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
}
addMeta('viewport', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no');
addMeta('apple-mobile-web-app-capable', 'yes');
addMeta('apple-touch-fullscreen', 'yes');
if (!window.Ext) {
window.Ext = {};
}
Ext.microloaded = true;
var filterPlatform = window.Ext.filterPlatform = function(platform) {
var profileMatch = false,
ua = navigator.userAgent,
j, jln;
platform = [].concat(platform);
function isPhone(ua) {
var isMobile = /Mobile(\/|\s)/.test(ua);
// Either:
// - iOS but not iPad
// - Android 2
// - Android with "Mobile" in the UA
return /(iPhone|iPod)/.test(ua) ||
(!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) ||
(/(BlackBerry|BB)/.test(ua) && isMobile) ||
/(Windows Phone)/.test(ua);
}
function isTablet(ua) {
return !isPhone(ua) && (/iPad/.test(ua) || /Android|Silk/.test(ua) || /(RIM Tablet OS)/.test(ua) ||
(/MSIE 10/.test(ua) && /; Touch/.test(ua)));
}
// Check if the ?platform parameter is set in the URL
var paramsString = window.location.search.substr(1),
paramsArray = paramsString.split("&"),
params = {},
testPlatform, i;
for (i = 0; i < paramsArray.length; i++) {
var tmpArray = paramsArray[i].split("=");
params[tmpArray[0]] = tmpArray[1];
}
testPlatform = params.platform;
if (testPlatform) {
return platform.indexOf(testPlatform) != -1;
}
for (j = 0, jln = platform.length; j < jln; j++) {
switch (platform[j]) {
case 'phone':
profileMatch = isPhone(ua);
break;
case 'tablet':
profileMatch = isTablet(ua);
break;
case 'desktop':
profileMatch = !isPhone(ua) && !isTablet(ua);
break;
case 'ios':
profileMatch = /(iPad|iPhone|iPod)/.test(ua);
break;
case 'android':
profileMatch = /(Android|Silk)/.test(ua);
break;
case 'blackberry':
profileMatch = /(BlackBerry|BB)/.test(ua);
break;
case 'safari':
profileMatch = /Safari/.test(ua) && !(/(BlackBerry|BB)/.test(ua));
break;
case 'chrome':
profileMatch = /Chrome/.test(ua);
break;
case 'ie10':
profileMatch = /MSIE 10/.test(ua);
break;
case 'windows':
profileMatch = /MSIE 10/.test(ua) || /Trident/.test(ua);
break;
case 'tizen':
profileMatch = /Tizen/.test(ua);
break;
case 'firefox':
profileMatch = /Firefox/.test(ua);
}
if (profileMatch) {
return true;
}
}
return false;
};
for (i = 0,ln = styleSheets.length; i < ln; i++) {
path = styleSheets[i];
if (typeof path != 'string') {
platform = path.platform;
exclude = path.exclude;
theme = path.theme;
path = path.path;
}
if (platform) {
if (!filterPlatform(platform) || filterPlatform(exclude)) {
continue;
}
Ext.theme = {
name: theme || 'Default'
};
}
write('<link rel="stylesheet" href="'+path+'">');
}
for (i = 0,ln = scripts.length; i < ln; i++) {
path = scripts[i];
if (typeof path != 'string') {
platform = path.platform;
exclude = path.exclude;
path = path.path;
}
if (platform) {
if (!filterPlatform(platform) || filterPlatform(exclude)) {
continue;
}
}
write('<script src="'+path+'"></'+'script>');
}
})();
This diff is collapsed.
/**
* Sencha Blink - Testing
* @author Jacky Nguyen <jacky@sencha.com>
*/
(function(global) {
var head = global.document.head,
Ext = global.Ext;
if (typeof Ext == 'undefined') {
global.Ext = Ext = {};
}
function write(content) {
document.write(content);
}
function addMeta(name, content) {
var meta = document.createElement('meta');
meta.setAttribute('name', name);
meta.setAttribute('content', content);
head.appendChild(meta);
}
Ext.blink = function(options) {
var scripts = options.js || [],
styleSheets = options.css || [],
i, ln, path, platform, theme;
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement("style");
msViewportStyle.appendChild(
document.createTextNode(
"@media screen and (orientation: portrait) {" +
"@-ms-viewport {width: 320px !important;}" +
"}" +
"@media screen and (orientation: landscape) {" +
"@-ms-viewport {width: 560px !important;}" +
"}"
)
);
document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
}
addMeta('viewport', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no');
addMeta('apple-mobile-web-app-capable', 'yes');
addMeta('apple-touch-fullscreen', 'yes');
Ext.microloaded = true;
var filterPlatform = window.Ext.filterPlatform = function(platform) {
var profileMatch = false,
ua = navigator.userAgent,
j, jln, exclude;
platform = [].concat(platform);
function isPhone(ua) {
var isMobile = /Mobile(\/|\s)/.test(ua);
// Either:
// - iOS but not iPad
// - Android 2
// - Android with "Mobile" in the UA
return /(iPhone|iPod)/.test(ua) ||
(!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) ||
(/(BlackBerry|BB)/.test(ua) && isMobile) ||
/(Windows Phone)/.test(ua);
}
function isTablet(ua) {
return !isPhone(ua) && (/iPad/.test(ua) || /Android|Silk/.test(ua) || /(RIM Tablet OS)/.test(ua) ||
(/MSIE 10/.test(ua) && /; Touch/.test(ua)));
}
// Check if the ?platform parameter is set in the URL
var paramsString = window.location.search.substr(1),
paramsArray = paramsString.split("&"),
params = {},
testPlatform, i;
for (i = 0; i < paramsArray.length; i++) {
var tmpArray = paramsArray[i].split("=");
params[tmpArray[0]] = tmpArray[1];
}
testPlatform = params.platform;
if (testPlatform) {
return platform.indexOf(testPlatform) != -1;
}
for (j = 0, jln = platform.length; j < jln; j++) {
switch (platform[j]) {
case 'phone':
profileMatch = isPhone(ua);
break;
case 'tablet':
profileMatch = isTablet(ua);
break;
case 'desktop':
profileMatch = !isPhone(ua) && !isTablet(ua);
break;
case 'ios':
profileMatch = /(iPad|iPhone|iPod)/.test(ua);
break;
case 'android':
profileMatch = /(Android|Silk)/.test(ua);
break;
case 'blackberry':
profileMatch = /(BlackBerry|BB)/.test(ua);
break;
case 'safari':
profileMatch = /Safari/.test(ua) && !(/(BlackBerry|BB)/.test(ua));
break;
case 'chrome':
profileMatch = /Chrome/.test(ua);
break;
case 'ie10':
profileMatch = /MSIE 10/.test(ua);
break;
case 'windows':
profileMatch = /MSIE 10/.test(ua) || /Trident/.test(ua);
break;
case 'tizen':
profileMatch = /Tizen/.test(ua);
break;
case 'firefox':
profileMatch = /Firefox/.test(ua);
}
if (profileMatch) {
return true;
}
}
return false;
};
for (i = 0,ln = styleSheets.length; i < ln; i++) {
path = styleSheets[i];
if (typeof path != 'string') {
platform = path.platform;
exclude = path.exclude;
theme = path.theme;
path = path.path;
}
if (platform) {
if (!filterPlatform(platform) || filterPlatform(exclude)) {
continue;
}
Ext.theme = {
name: theme || 'Default'
};
}
write('<link rel="stylesheet" href="'+path+'">');
}
for (i = 0,ln = scripts.length; i < ln; i++) {
path = scripts[i];
if (typeof path != 'string') {
platform = path.platform;
exclude = path.exclude;
path = path.path;
}
if (platform) {
if (!filterPlatform(platform) || filterPlatform(exclude)) {
continue;
}
}
write('<script src="'+path+'"></'+'script>');
}
}
})(this);
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
@import 'sencha-touch/base';
@include icon-font('Pictos', inline-font-files('pictos/pictos-web.woff', woff, 'pictos/pictos-web.ttf', truetype,'pictos/pictos-web.svg', svg));
@import 'sencha-touch/bb10';
@import 'sencha-touch/bb10/all';
\ No newline at end of file
@import 'sencha-touch/bb103';
@import 'sencha-touch/bb103/all';
\ No newline at end of file
# Get the directory that this configuration file exists in
dir = File.dirname(__FILE__)
# Load the sencha-touch framework automatically.
load File.join(dir, '..', 'themes')
# Compass configurations
sass_path = dir
css_path = File.join(dir, "..", "css-debug")
fonts_path = File.join(dir, '..', 'themes/fonts/')
environment = :development
output_style = :expanded
\ No newline at end of file
# Get the directory that this configuration file exists in
dir = File.dirname(__FILE__)
# Load the sencha-touch framework automatically.
load File.join(dir, '..', 'themes')
# Compass configurations
fonts_path = File.join(dir, '..', 'themes/fonts/')
sass_path = dir
css_path = File.join(dir, "..", "css")
environment = :development
output_style = :compressed
@import 'sencha-touch/cupertino-classic';
@import 'sencha-touch/cupertino-classic/all';
\ No newline at end of file
@import 'sencha-touch/cupertino';
@import 'sencha-touch/cupertino/all';
\ No newline at end of file
@import 'sencha-touch/mountainview';
@import 'sencha-touch/mountainview/all';
\ No newline at end of file
@import 'sencha-touch/default';
@import 'sencha-touch/default/all';
\ No newline at end of file
@import 'sencha-touch/tizen';
@import 'sencha-touch/tizen/all';
\ No newline at end of file
@import 'sencha-touch/windows';
@import 'sencha-touch/windows/all';
\ No newline at end of file
# This file registers the sencha-touch framework with compass
# It's a magic name that compass knows how to find.
dir = File.dirname(__FILE__)
require File.join(dir, 'lib', 'theme_images.rb')
# Include compass-recipes
require File.join(File.dirname(__FILE__), 'vendor', 'compass-recipes', 'config')
Compass::BrowserSupport.add_support('repeating-linear-gradient', 'webkit', 'moz', 'o', 'ms')
Compass::Frameworks.register 'sencha-touch', dir
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
This is a custom SVG font generated by IcoMoon.
<iconset grid="16"></iconset>
</metadata>
<defs>
<font id="icomoon" horiz-adv-x="512" >
<font-face units-per-em="512" ascent="480" descent="-32" />
<missing-glyph horiz-adv-x="512" />
<glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
<glyph unicode="&#x21;" d="M 236.48-16.76L 175.652,48.016L 357.208,223.24L 175.652,406.38L 236.48,463.236L 476.48,223.24 z" />
<glyph unicode="&#x22;" d="M 203.884,223.992L 410.68,21.364L 357.32-32L 101.32,223.992L 357.32,480L 409.596,427.74 z" />
<glyph unicode="&#x20;" horiz-adv-x="256" />
</font></defs></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="icomoon" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" d="" horiz-adv-x="512" />
<glyph unicode="&#x61;" d="M877.714 256v-73.143q0-14.857-10.857-25.714t-25.714-10.857h-804.571q-14.857 0-25.714 10.857t-10.857 25.714v73.143q0 14.857 10.857 25.714t25.714 10.857h804.571q14.857 0 25.714-10.857t10.857-25.714zM877.714 548.571v-73.143q0-14.857-10.857-25.714t-25.714-10.857h-804.571q-14.857 0-25.714 10.857t-10.857 25.714v73.143q0 14.857 10.857 25.714t25.714 10.857h804.571q14.857 0 25.714-10.857t10.857-25.714zM877.714 841.143v-73.143q0-14.857-10.857-25.714t-25.714-10.857h-804.571q-14.857 0-25.714 10.857t-10.857 25.714v73.143q0 14.857 10.857 25.714t25.714 10.857h804.571q14.857 0 25.714-10.857t10.857-25.714z" horiz-adv-x="878" />
<glyph unicode="&#x62;" d="M731.429 475.429v73.143q0 14.857-10.857 25.714t-25.714 10.857h-286.857l108 108q10.857 10.857 10.857 25.714t-10.857 25.714l-52 52q-10.286 10.286-25.714 10.286t-25.714-10.286l-258.857-258.857q-10.286-10.286-10.286-25.714t10.286-25.714l258.857-258.857q10.286-10.286 25.714-10.286t25.714 10.286l52 52q10.286 10.286 10.286 25.714t-10.286 25.714l-108 108h286.857q14.857 0 25.714 10.857t10.857 25.714zM877.714 512q0-119.429-58.857-220.286t-159.714-159.714-220.286-58.857-220.286 58.857-159.714 159.714-58.857 220.286 58.857 220.286 159.714 159.714 220.286 58.857 220.286-58.857 159.714-159.714 58.857-220.286z" horiz-adv-x="878" />
<glyph unicode="&#x63;" d="M409.714 226.857l259.429 259.429q10.857 10.857 10.857 25.714t-10.857 25.714l-259.429 259.429q-10.857 10.857-25.714 10.857t-25.714-10.857l-58.286-58.286q-10.857-10.857-10.857-25.714t10.857-25.714l175.429-175.429-175.429-175.429q-10.857-10.857-10.857-25.714t10.857-25.714l58.286-58.286q10.857-10.857 25.714-10.857t25.714 10.857zM877.714 512q0-119.429-58.857-220.286t-159.714-159.714-220.286-58.857-220.286 58.857-159.714 159.714-58.857 220.286 58.857 220.286 159.714 159.714 220.286 58.857 220.286-58.857 159.714-159.714 58.857-220.286z" horiz-adv-x="878" />
</font></defs></svg>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment