Skip to content

Instantly share code, notes, and snippets.

@charliegerard
Last active August 29, 2015 13:58
Show Gist options
  • Select an option

  • Save charliegerard/9947021 to your computer and use it in GitHub Desktop.

Select an option

Save charliegerard/9947021 to your computer and use it in GitHub Desktop.

#Day33

Morning exercise: https://gist.github.com/mathildathompson/9944082

Metaprogramming Writes methods for you insidea method

Calling debugger pauses the program so we can call functions and check where the errors are.

If we don't want to pause the program to debug, we can define a function inside the function we want to check. example: window.ohGod = function(){ debugger; }

Don't forget to take it out before going to production.

Underscore.js: http://underscorejs.org/ http://cdnjs.com/ : include this link in a script in your html to get a certain library without having to import the code in your files.

Book by John Resig, Secrets of the javascript ninja

jQuery: http://jquery.com/

Try jQuery: http://try.jquery.com/

###HOMEWORK:

change arrow left go back to beginning stuff on arrow to show you can click on them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment