Skip to content

Instantly share code, notes, and snippets.

@natekandler
Last active March 1, 2017 02:10
Show Gist options
  • Save natekandler/e628fe7780e61eae6d8e2c6ffd55a3a3 to your computer and use it in GitHub Desktop.
Save natekandler/e628fe7780e61eae6d8e2c6ffd55a3a3 to your computer and use it in GitHub Desktop.
Tiffany - There is a Sinatra skeleton in the cohort repos, don't use JQuery CDN version 3.
Matt - Helpers directory needs to be directly under app
David - Status code of 200 will always send back string
Jordan - ES2015 has an arrow function
Erik - In JS you can pass an object literal as an argument to a function
Ali - You can store a partial as a variable convert to json and send it with json data
Jack - You can use modules instead of helper methods
Ian - Weirdness with params in authentication?
Brendan - .off in JQuery will remove event binding, not all JS versions support default arguments
Lisa - JQuery script needs to be added before your other JS
Tommy - How to properly use failure methods on AJAX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment