by onion2k · 13y ago · 0 comments
function blinkRobbyEyes()
{
if (layersMovement != "not moving 2")
{
$(robbyEyesCloseDiv).fadeTo(0,1);
$(robbyEyesCloseDiv).stop().delay(300).animate({opacity: 0}, 0, function() {});
}
}
"if (layersMovement != "not moving 2")" is a boolean that should be passed as a parameter if you're ever going to write a working unit test against that function. Consequently, it shows a pretty poor knowledge of "making nice looking and maintainable HTML5 scrolly animations" in any sort of a real-life environment. Many people can make fancy webpages; someone with "the best resume ever" would be able to make fancy webpages with code that's relatively well abstracted in to testable, reusable functions.Great idea and quite original. I still give him rube cred for having such a nice concept despite the flaws in his code.
My first impression would be that he is a very creative professional with good designing skills. Regarding the programming I totally agree that it have a lot of flaws and lack of basic testing capabilities.
The animation are fun, but having reviewed main.js and style.css, he can't reasonably pretend he's a "master" in css/javascript.
Please write/amend some ECMA/CSS specs or hack rendering engines first to pretend to be so.