Skip to content

Instantly share code, notes, and snippets.

@marksiemers
Forked from natekandler/discoveries.txt
Last active March 1, 2017 02:10
Show Gist options
  • Save marksiemers/408034d218f887bd7e8c16a4762cf4fe to your computer and use it in GitHub Desktop.
Save marksiemers/408034d218f887bd7e8c16a4762cf4fe 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
Mark - Use anonymous functions in jQuery done callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment