Created
January 20, 2011 22:20
-
-
Save brianleroux/788807 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>wtfwebkit</title> | |
<script type="text/javascript" charset="utf-8" src="phonegap.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
document.addEventListener("deviceready", function() { | |
var foo = "<p>hello world</p>" | |
, master = document.body | |
master.innerHTML = foo | |
console.log(master.innerHTML.length == foo.length ? '~~~~~~ WE ARE OK ~~~~~~' : '****** WE ARE SCREWED ******'); | |
}, false); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment