Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jesus.walkOnWater implementation is wrong #5

Open
lucaswxp opened this issue Jan 18, 2017 · 1 comment
Open

Jesus.walkOnWater implementation is wrong #5

lucaswxp opened this issue Jan 18, 2017 · 1 comment

Comments

@lucaswxp
Copy link

In my opinion, Jesus.walkOnWater's implementation should actually be in a library called Moses.js.

    Jesus.walkOnWater = function(){
        var elems = document.querySelectorAll('*');
        for(var i = 0, len = elems.length; i < len; i++) {
            elems[i].style.float = Math.random() < 0.5 ? 'left' : 'right';
        }
    };

Get it?

@mblodorn
Copy link

agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants