Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (36 sloc) 1.65 KB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Package loader test</title>
<!-- Setup: run deployment service on port 9292, serve this file from localhost:8000. -->
<!-- Step 1. Load the JS.Class loader and the package config -->
<script src="http://localhost:9292/js/helium.js" type="text/javascript"></script>
<!-- Step 2. Add data required by the package manager -->
<script type="text/javascript">
// http://localhost:8000
Helium.GOOGLE_API_KEY = 'ABQIAAAArVbgzt5nxAQAZ_iB_77caBQCULP4XOMyhPd8d_NrQQEO8sT8XBTzVWhRwEDkVfNsvzo8bf4ntGV4ZQ';
// http://10.0.2.2:8000
// Helium.GOOGLE_API_KEY = 'ABQIAAAArVbgzt5nxAQAZ_iB_77caBR-5oywdloojr3wCGctvtY4YLrIFxTp2Uv8Tzdhpc707bQaOPGPEQ3PzA';
Helium.use('yui', '2.7.0');
Helium.use('ojay', 'master');
Helium.use('panel', 'master');
</script>
<style type="text/css" media="screen">
.overlay-container { background: #f2e697; }
.overlay-content { font: 96px Helvetica, Arial, sans-serif; padding: 24px; }
.close-button { position: absolute; top: 8px; right: 8px; font: bold 12px Helvetic, Arial, sans-serif; cursor: pointer; text-transform: uppercase; }
</style>
<script type="text/javascript">
// Load and use some libraries
require('GMap2');
require('PanelOverlay', function() {
var overlay = new PanelOverlay({width: 300, height: 200});
overlay.setContent('Hello, world!')
.fitToContent()
.center()
.show('zoom');
});
</script>
</head>
</html>