8000 GitHub - sos0/cat-clicker: udacity JS design patterns class
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sos0/cat-clicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cat-clicker

cat-clicker was created via udacity's js design patterns class.

self-note on closures:

given closure example:

elem.addEventListener('click', (function(numCopy) {
    return function() {
        alert(numCopy)
    };
})(num));

i avoided the closure problem by using jQuery's .each, but if i hadn't done that then i would've needed to handle it differently.

About

udacity JS design patterns class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0