aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/slides.js8
-rw-r--r--template.html8
2 files changed, 14 insertions, 2 deletions
diff --git a/js/slides.js b/js/slides.js
index c28300c..30aee54 100644
--- a/js/slides.js
+++ b/js/slides.js
@@ -161,12 +161,16 @@ SlideDeck.prototype.loadConfig_ = function() {
161 if (settings.title) { 161 if (settings.title) {
162 document.title = settings.title; 162 document.title = settings.title;
163 } 163 }
164
165 if (settings.title) {
166 document.title = settings.title;
167 }
164 168
165 if (!!!('usePrettify' in settings) || settings.usePrettify) { 169 if (!!!('usePrettify' in settings) || settings.usePrettify) {
166 prettyPrint(); 170 prettyPrint();
167 } 171 }
168 172
169 if (settings.analyticsId) { 173 if (settings.analytics) {
170 this.loadAnalytics_(); 174 this.loadAnalytics_();
171 } 175 }
172 176
@@ -505,7 +509,7 @@ SlideDeck.prototype.loadTheme_ = function(theme) {
505 */ 509 */
506SlideDeck.prototype.loadAnalytics_ = function() { 510SlideDeck.prototype.loadAnalytics_ = function() {
507 var _gaq = window['_gaq'] || []; 511 var _gaq = window['_gaq'] || [];
508 _gaq.push(['_setAccount', this.config_.settings.analyticsId]); 512 _gaq.push(['_setAccount', this.config_.settings.analytics]);
509 //_gaq.push(['_setDomainName', '.bleedinghtml5.appspot.com']); 513 //_gaq.push(['_setDomainName', '.bleedinghtml5.appspot.com']);
510 _gaq.push(['_trackPageview']); 514 _gaq.push(['_trackPageview']);
511 515
diff --git a/template.html b/template.html
index 1339ee9..afac672 100644
--- a/template.html
+++ b/template.html
@@ -1,3 +1,11 @@
1<!--
2Google IO 2012 HTML5 Slide Template
3
4Authors: Eric Bidelman <ebidel@gmail.com>
5 Luke Mahé
6
7URL: https://code.google.com/p/io-2012-slides
8-->
1<!DOCTYPE html> 9<!DOCTYPE html>
2<html> 10<html>
3<head> 11<head>