Skip to content

Instantly share code, notes, and snippets.

@ketemartinsrufino
Created April 8, 2015 01:45
Show Gist options
  • Save ketemartinsrufino/8867fb2d269cf9172596 to your computer and use it in GitHub Desktop.
Save ketemartinsrufino/8867fb2d269cf9172596 to your computer and use it in GitHub Desktop.
1º Hackathon Greenmile
Greenmile = {};
Greenmile.hireSomeone = function() {console.log('Internal process')};
Greenmile.Hackathon = (function() {
function hackin() {
this.start = new Date('2015-04-18 13:00:00');
this.end = new Date('2015-04-18 17:00:00');
this.describe = '';
var afterRun = function() {
Greenmile.hireSomeone();
};
this.run = function(name, email) {
this.writeAboutYourself();
this.subscribe(name, email);
afterRun();
};
this.subscribe = function(nome, email){
window.location='https://docs.google.com/a/sagaranatech.com/forms/d/1CbbmBlGTTl7mNp8mLd00KkleqOeiMVUEIEmwpNL_kW8/viewform?entry.485757610='+ (nome || '') + '&entry.279840852='+ (email || '')+'&entry.1872342765&entry.1623317796='+ this.text;
}
}
return hackin;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment