aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEric Bidelman2012-04-21 18:02:00 -0700
committerEric Bidelman2012-04-21 18:02:00 -0700
commit842ac6b09e0a33f7d7fdc0e634d8ea53bd7ed656 (patch)
treecca8e1be4e46b46c152ccf6af71f99ab59845226 /js
parentd8cb2f9460da3ca6248d9aed429e8e94b7f29e99 (diff)
downloadio-slides-remote-842ac6b09e0a33f7d7fdc0e634d8ea53bd7ed656.tar.gz
Adding local favicon. config cleanup
Diffstat (limited to 'js')
-rw-r--r--js/slides.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/js/slides.js b/js/slides.js
index 3251982..9ad0290 100644
--- a/js/slides.js
+++ b/js/slides.js
@@ -296,7 +296,7 @@ SlideDeck.prototype.loadConfig_ = function(config) {
296 } 296 }
297 297
298 /* Left/Right tap areas. Default to including. */ 298 /* Left/Right tap areas. Default to including. */
299 if (!!!('enableSideAreas' in settings) || settings.enableSideAreas) { 299 if (!!!('enableSlideAreas' in settings) || settings.enableSlideAreas) {
300 var el = document.createElement('div'); 300 var el = document.createElement('div');
301 el.classList.add('slide-area'); 301 el.classList.add('slide-area');
302 el.id = 'prev-slide-area'; 302 el.id = 'prev-slide-area';
@@ -668,16 +668,6 @@ SlideDeck.prototype.loadTheme_ = function(theme) {
668 } 668 }
669 document.querySelector('head').appendChild(style); 669 document.querySelector('head').appendChild(style);
670 } 670 }
671 // TODO(ericbidelman): Removed this.
672 // var viewportMeta = document.createElement('meta');
673 // viewportMeta.name = 'viewport';
674 // viewportMeta.content = 'width=1100,height=750';
675 // document.querySelector('head').appendChild(viewportMeta);
676
677 var appleMeta = document.createElement('meta');
678 appleMeta.name = 'apple-mobile-web-app-capable';
679 appleMeta.content = 'yes';
680 document.querySelector('head').appendChild(appleMeta);
681}; 671};
682 672
683/** 673/**
@@ -686,7 +676,6 @@ SlideDeck.prototype.loadTheme_ = function(theme) {
686SlideDeck.prototype.loadAnalytics_ = function() { 676SlideDeck.prototype.loadAnalytics_ = function() {
687 var _gaq = window['_gaq'] || []; 677 var _gaq = window['_gaq'] || [];
688 _gaq.push(['_setAccount', this.config_.settings.analytics]); 678 _gaq.push(['_setAccount', this.config_.settings.analytics]);
689 //_gaq.push(['_setDomainName', '.bleedinghtml5.appspot.com']);
690 _gaq.push(['_trackPageview']); 679 _gaq.push(['_trackPageview']);
691 680
692 (function() { 681 (function() {