diff --git a/examples/basic.html b/examples/basic.html index d213bb0..4b98105 100644 --- a/examples/basic.html +++ b/examples/basic.html @@ -54,10 +54,10 @@
<canvas id='basicGlobe' width='400' height='400'></canvas>
+<canvas id='basicGlobe' width='400' height='400'></canvas>
(function() {
+(function() {
var canvas = document.getElementById('basicGlobe');
var planet = planetaryjs.planet();
// Loading this plugin technically happens automatically,
diff --git a/examples/quake.html b/examples/quake.html
index 0911d09..b6b8686 100644
--- a/examples/quake.html
+++ b/examples/quake.html
@@ -52,7 +52,7 @@
HTML
-<h1>Earthquakes: 2013</h1>
+<h1>Earthquakes: 2013</h1>
<ul id='magnitudes'></ul>
<canvas id='quakeCanvas'></canvas>
@@ -68,7 +68,7 @@
JavaScript
-(function() {
+(function() {
var canvas = document.getElementById('quakeCanvas');
// Create our Planetary.js planet and set some initial values;
diff --git a/examples/rotating.html b/examples/rotating.html
index cbac3ea..f069812 100644
--- a/examples/rotating.html
+++ b/examples/rotating.html
@@ -59,11 +59,11 @@
HTML
-<canvas id='basicGlobe' width='400' height='400'
+<canvas id='basicGlobe' width='400' height='400'
style='width: 400px; height: 400px; cursor: move;'></canvas>
JavaScript
-(function() {
+(function() {
var globe = planetaryjs.planet();
// Load our custom `autorotate` plugin; see below.
globe.loadPlugin(autorotate(10));