Skip to content

Instantly share code, notes, and snippets.

@totango
Created November 21, 2011 10:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save totango/1382214 to your computer and use it in GitHub Desktop.
Save totango/1382214 to your computer and use it in GitHub Desktop.
Totango Front End Engineer - Job Description in JavaScript
var skill_sets = {
JavaScript : 'ninja!',
FrontEnd : ['html5', 'css3', 'jquery' , 'responsive-design'],
PHP : ['wordpress', 'any'],
Java : ['spring', 'sql', 'spring-mvc'],
Cloud : ['ec2', 's3', 'sqs', 'mySql'],
Creativity : 'must!'
};
var we_give = {
benefits : ['options', 'competitive salary', 'chance to change the world!'],
Mac : { 'select' : { 'Mac Book Pro 15"' }, {'Mac Book Air 13"'} },
iPhone : 'yes',
Android : 'yes',
iPad2 : 'contact-sales'
};
var you_get = {
make_a_difference : true,
work_with_top_talent : true,
close_to_customers : true
}
function apply_for_position (you) {
should_apply = true;
for ( var skill in skill_sets ) if (!you.skills[skill]) should_apply = false;
if (should_apply && you.want == true) alert ('Apply with LinkedIn or email to jobs@totango.com');
}
@hitautodestruct
Copy link

var you_get = {
    make-a-difference    : true,
    work-with-top-talent : true,
    close-to-customers   : true
}

Using hyphens in a param name is invalid javascript..

This is correct though:

var you_get = {
    "make-a-difference"  : true,
    "work-with-top-talent" : true,
    "close-to-customers"   : true
}

@totango
Copy link
Author

totango commented Jan 7, 2012

Thanks - fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment