This repository has been archived by the owner on Oct 5, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the touch folder, required for sencha cmd apps
- Loading branch information
Adrian Kosmaczewski
committed
Nov 29, 2012
1 parent
7998466
commit cf95eaf
Showing
1,105 changed files
with
425,680 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This is the SDK version. By defining this property, we are declaring this | ||
# folder to be an SDK distribution. | ||
framework.name=touch | ||
framework.version=2.1.0.447 | ||
framework.classpath=${framework.dir}/src | ||
|
||
#------------------------------------------------------ | ||
|
||
# This is the minimum required Sencha Cmd version: | ||
framework.cmd.minver=3.0.0.141 | ||
|
||
# This is the current version of the Sencha Cmd at the time of this SDK release: | ||
framework.cmd.version=3.0.0.250 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* Sencha Blink - Development | ||
* @author Jacky Nguyen <jacky@sencha.com> | ||
*/ | ||
(function() { | ||
function write(content) { | ||
document.write(content); | ||
} | ||
|
||
function meta(name, content) { | ||
write('<meta name="' + name + '" content="' + content + '">'); | ||
} | ||
|
||
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; | ||
|
||
meta('viewport', 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no'); | ||
meta('apple-mobile-web-app-capable', 'yes'); | ||
meta('apple-touch-fullscreen', 'yes'); | ||
|
||
for (i = 0,ln = styleSheets.length; i < ln; i++) { | ||
path = styleSheets[i]; | ||
|
||
if (typeof path != 'string') { | ||
path = path.path; | ||
} | ||
|
||
write('<link rel="stylesheet" href="'+path+'">'); | ||
} | ||
|
||
for (i = 0,ln = scripts.length; i < ln; i++) { | ||
path = scripts[i]; | ||
|
||
if (typeof path != 'string') { | ||
path = path.path; | ||
} | ||
|
||
write('<script src="'+path+'"></'+'script>'); | ||
} | ||
|
||
})(); |
Oops, something went wrong.