Created
January 19, 2010 15:53
-
-
Save anonymous/281023 to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<script type="text/ruby"> | |
def helloRuby | |
window.document.getElementById('output').innerHTML = "Hello World from Titanium using Ruby" | |
end | |
window.helloRuby = helloRuby | |
</script> | |
</head> | |
<body style="background-color:#1c1c1c;margin:0;color:#fff"> | |
<div style="border-top:1px solid #404040"> | |
<div style="padding:10px"> | |
Welcome to Titanium | |
</div> | |
<div id="output">Click on a Button!</div> | |
<div> | |
<button onclick="helloRuby()">Hello Ruby!</button> | |
</div> | |
</div> | |
</body> | |
</html> |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<ti:app xmlns:ti='http://ti.appcelerator.org'> | |
<!-- These values are edited/maintained by Titanium Developer --> | |
<id>privategooglehack</id> | |
<name>googlehack</name> | |
<version>1.0</version> | |
<publisher>Joel Dezenzio</publisher> | |
<url>http://ncaastatpages.com</url> | |
<icon>default_app_logo.png</icon> | |
<copyright>2010 by Joel Dezenzio</copyright> | |
<!-- Window Definition - these values can be edited --> | |
<window> | |
<id>initial</id> | |
<title>GoogleHack</title> | |
<url>app://googlehack.html</url> | |
<width>700</width> | |
<max-width>3000</max-width> | |
<min-width>0</min-width> | |
<height>800</height> | |
<max-height>3000</max-height> | |
<min-height>0</min-height> | |
<fullscreen>false</fullscreen> | |
<resizable>true</resizable> | |
<chrome scrollbars="true">true</chrome> | |
<maximizable>true</maximizable> | |
<minimizable>true</minimizable> | |
<closeable>true</closeable> | |
</window> | |
</ti:app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment