Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. import Ember from 'ember';
  2.  
  3. const countries = [
  4. { name: 'United States', flagUrl: '/flags/us.svg' },
  5. { name: 'Spain', flagUrl: '/flags/es.svg' },
  6. { name: 'Portugal', flagUrl: '/flags/pt.svg' },
  7. { name: 'Russia', flagUrl: '/flags/ru.svg' },
  8. { name: 'Latvia', flagUrl: '/flags/lv.svg' },
  9. { name: 'Brazil', flagUrl: '/flags/br.svg' },
  10. { name: 'United Kingdom', flagUrl: '/flags/gb.svg' },
  11. ];
  12.  
  13. export default Ember.Controller.extend({
  14. countries: countries,
  15. destination: countries[2],
  16. actions: {
  17. foo() { }
  18. }
  19. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement