Created
April 9, 2012 18:41
-
-
Save drobbins/2345357 to your computer and use it in GitHub Desktop.
Quanah + jQuery Interaction Bug Demo
This file contains hidden or 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
<html> | |
<head> | |
<title>jQuery + Quanah Error Demo</title> | |
</head> | |
<body> | |
<a id="awesome">Click for Awesome</a> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
<script src="https://raw.github.com/wilkinson/quanah/master/src/quanah.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
(function(){ | |
$("a#awesome").bind("click", function(){alert("AWESOME!!!");}); | |
try { | |
$("a#awesome").remove(); | |
} | |
catch (e) { | |
console.log("Oops!:",e.message); | |
console.error(e); | |
} | |
}()); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment