- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.
This file contains hidden or 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
| [ 'Amanda Surya', | |
| 'Brandon Woolf', | |
| 'Doug Hatch', | |
| 'Gary Morain', | |
| 'Jonathan Rhodes', | |
| 'Justin Lawyer', | |
| 'Kenneth Cheng', | |
| 'Lloyd Thompson', | |
| 'Matthew Scott', | |
| 'Robert Gardner', |
This file contains hidden or 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
| set nocompatible | |
| filetype on | |
| filetype plugin on | |
| " Set plugin preferences | |
| set rtp+=~/.vim/bundle/vundle/ | |
| call vundle#rc() | |
| " let Vundle manage Vundle | |
| " required! |
This file contains hidden or 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css"> | |
| <link rel="stylesheet" href="main.css"> | |
| <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800"> | |
| <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900"> | |
| <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"> | |
| </head> |
This file contains hidden or 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
| Method: Map | |
| Class: Array (of people) | |
| Format: map { | persom | block } → new_ary | |
| Block: { |person| person + awesome_new_shirt } | |
| Result: array of people with shirts | |
| people = [katharine, shiv, bryce, josh] | |
| new_people = people.map { |person| person + awesome_new_shirt } | |
| people = [Person.new("Katharine"), |