diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/slides.js | 13 |
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) { | |||
686 | SlideDeck.prototype.loadAnalytics_ = function() { | 676 | SlideDeck.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() { |