Skip to content

Instantly share code, notes, and snippets.

View marksiemers's full-sized avatar

Mark marksiemers

  • Measurabl
  • Remote
View GitHub Profile
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