Created
November 26, 2008 13:37
-
-
Save marcogomes/29387 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
/* | |
Marco Gomes, Sao Paulo, 2009-01 | |
eu@marcogomes.com | http://marcogomes.com | |
Usar Photoshop pra fazer convite eh coisa de n00b! | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
0. You just DO WHAT THE FUCK YOU WANT TO. | |
WTFPL: http://sam.zoy.org/wtfpl/ | |
*/ | |
// cria um novo evento e define um shortcut | |
var NerdsOnBeer = new Event(); | |
var nob = NerdsOnBeer; | |
// define o tipo | |
nob.setType('generic nerd'); | |
// define um titulo pra este #nob | |
nob.setTitle('Especial Campus Party'); | |
// define a data e hora, lembre-se que jan = 0! | |
nob.date = new Date(2009,0,22,22); | |
// AAAA,M,DD,HH | |
// cria e configura o obj bar | |
nob.bar = new Bar(); | |
nob.bar.setName('Bar Pireus'); | |
nob.bar.setAddr({ | |
rua: 'Av. Dr. Ricardo Jafet' | |
, num: 3113 | |
, bairro: 'Saude' | |
, cidade: 'Sao Paulo' | |
, uf: 'SP' | |
, cep: '04123-030' | |
, pais: 'br' | |
, mapuri: 'http://tinyurl.com/ahm3me' | |
, ref: 'Sai do CParty sentido norte, segue reto a Imigrandes e vai embora ate perto da r. Santa Cruz' | |
}); | |
// chama todo mundo pro evento | |
nob.callEveryone(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment