Created
January 9, 2011 11:28
-
-
Save DanielG/771614 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
<html> | |
<!-- <script type="text/javascript" src="SubscribingPasswordMe.js"></script> --> | |
<script type="text/javascript" src="../../scripts/require.js"></script> | |
<script> | |
require(['../../unhosted'], function(unhosted){ | |
console.log(unhosted); | |
// Load blog post | |
//unhosted.importSub(SubscribingPasswordMe, "hardCodedSub"); | |
//document.getElementById("blogpost").innerHTML= unhosted.get("hardCodedSub", "myFirstUnhostedBlogPost"); | |
}); | |
</script> | |
<body> | |
<h2>This code is only for demonstration and not safe to run in production.</h2> | |
<h2>Only run it in a local development environment, never on a public IP or production server.</h2> | |
<div id="blogpost">Loading unhosted json...</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment