dracula / emacs

🧛🏻‍♂️ Dark theme for Emacs
https://draculatheme.com/emacs
MIT License
330 stars 87 forks source link

Take new screenshot #62

Closed zenorocha closed 4 years ago

zenorocha commented 4 years ago

Hey @milouse!

Can you update the screenshot to use the new code snippet?

New Snippet

/*
 * Once upon a time...
 */

class Vampire {
  constructor(props) {
    this.location = props.location;
    this.birthDate = props.birthDate;
    this.deathDate = props.deathDate;
    this.weaknesses = props.weaknesses;
  }

  get age() {
    return this.calcAge();
  }

  calcAge() {
    return this.deathDate - this.birthDate;
  }
}

// ...there was a guy named Vlad

const Dracula = new Vampire({
  location: 'Transylvania',
  birthDate: 1428,
  deathDate: 1476,
  weaknesses: ['Sunlight', 'Garlic']
}); 

Why use this?

Want to use another language?

Feel free to send a pull request to the template repo under the sample folder.

milouse commented 4 years ago

No problem, I do that ASAP next week :)

zenorocha commented 4 years ago

Thanks @milouse!

milouse commented 4 years ago

Does it please you?

screenshot