Skip to content

Instantly share code, notes, and snippets.

@saltcod
Last active March 2, 2016 22:17
Show Gist options
  • Save saltcod/b615e0fa73abf2c3cec8 to your computer and use it in GitHub Desktop.
Save saltcod/b615e0fa73abf2c3cec8 to your computer and use it in GitHub Desktop.
— you might not need jQuery
> http://youmightnotneedjquery.com/
— Go Make Things
> http://gomakethings.com/ditching-jquery-for-vanilla-js/
> http://gomakethings.com/climbing-up-and-down-the-dom-tree-with-vanilla-javascript/
— ids & classes, together at last
> <div class="header-notification" id="header-notification"></div>
— event delegation
>  _underscore
— polyfills
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
> https://github.com/eligrey/classList.js/
— vanilla favourite
> closest + querySelectory
> this.closest('parent').querySelector('sibling');  
> instead of: $(this).parent().find('sibling')
>
**Resources**
—Js the definitive guide
ftp://91.193.236.10/pub/docs/linux-support/programming/JavaScript/%5BO%60Reilly%5D%20-%20JavaScript.%20The%20Definitive%20Guide,%206th%20ed.%20-%20%5BFlanagan%5D.pdf
https://toddmotto.com/is-it-time-to-drop-jquery-essentials-to-learning-javascript-from-a-jquery-background/
http://blissfuljs.com/
http://www.oreilly.com/web-platform/free/files/You_Dont_Know_JS_Up_and_Going.pdf
https://www.pluralsight.com/courses/javascript-good-parts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment