Created
June 16, 2016 16:38
-
-
Save hyrmn/7fc9c1e65b5be83299e1c7c80842e3e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Omphaloskepsis</title> | |
</head> | |
<body> | |
<button type="belly" class="innie" id="navel">@</button> | |
<script> | |
var navel = document.getElementById('navel'); | |
function gaze(object){ | |
var oldObject = !oldObject ? JSON.parse(JSON.stringify(object)) : oldObject; | |
if (oldObject != object){ | |
console.log(changed); | |
oldObject != object | |
} | |
setTimeout(function () { | |
gaze(object) | |
}, 10) | |
} | |
gaze(navel); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment