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
/* | |
ipad4joB.css | |
*/ | |
.no-copy{-webkit-user-select:none;} | |
body { | |
margin: 0; | |
padding: 0; | |
background: #EEE; |
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.setup({ | |
icon: 'icon.png', | |
tabletStartupScreen: 'tablet_startup.png', | |
phoneStartupScreen: 'phone_startup.png', | |
glossOnIcon: false, | |
onReady: function() { | |
//--------------------------------- | |
// Title Bar | |
//--------------------------------- | |
var header = new Ext.Toolbar({ |
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> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>SenchaTouch</title> | |
<link rel="stylesheet" href="sencha-touch.css" type="text/css"> | |
<script type="text/javascript" src="sencha-touch.js"></script> | |
<script type="text/javascript" src="ipad-template.js"></script> | |
</head> | |
<body></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
/* | |
htc4jo.css | |
*/ | |
.no-copy{-webkit-user-select:none;} | |
body { | |
margin: 0; | |
padding: 0; | |
background: #383838;; |
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
//Jo StarterKit | |
//by [email protected] | |
// initialize jo | |
jo.load(); | |
/*---[DEFINE MAIN SCREEN]---------------------------------------*/ | |
var MainScreen; | |
var HeaderBar; | |
var Content; |
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
function Human(){ | |
var that = this; | |
var name="John Doe"; | |
that.getName=function(){return name;} | |
that.setName=function(value){name=value;} | |
return that; | |
} | |
function Man(){ | |
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
var | |
sys = require('sys'), | |
http = require('http'); | |
function myservice(){/*return objects*/} | |
http.createServer(function (req, res) { | |
/* url to call service : | |
http://localhost:3000/woman:lara:croft | |
*/ |
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
function Annotations(){ | |
var arr = arguments[0].toString().split("@@"),arr_annot={},i,j,tmp={}; | |
for(i=0;i<arr.length;i++){ | |
if(arr[i][0]=="-"){ | |
arr_annot[arr[i].split("-")[1]] ={}; | |
tmp = arr[i].split("-")[2].split(","); | |
tmp[0]=tmp[0].replace(/\n/g,"").replace(/\r/g,"").replace(/^\s+|\s+$/,""); | |
tmp[1]=tmp[1].replace(/\n/g,"").replace(/\r/g,"").replace(/^\s+|\s+$/,""); | |
for(j=0;j<tmp.length;j++){ |
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
function Human(){ | |
/* @@-FirstName- | |
myType:TEXT, | |
myDefaultValue:John | |
@@ */ | |
this.FirstName; | |
/* @@-LastName- | |
myType:TEXT, | |
myDefaultValue:Doe | |
@@ */ |
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
var mum = (function () { | |
var mummy = {}; | |
mummy.Class = function(definition){ | |
var that = function(){},m,mb,mbs,mbc,inst; | |
for(m in definition){ | |
switch(m){ | |
case 'Members':for(mb in definition.Members){that.prototype[mb] = definition.Members[mb];}break; | |
case 'Static':for(mbs in definition.Static){that[mbs] = definition.Static[mbs];}break; | |
case 'Extends':that.prototype = new definition.Extends;break; | |
case 'Init': |