You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/09/15 03:43:57 UTC

docs commit: Removing debug messages.

Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 32728645d -> 36d384edb


Removing debug messages.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/36d384ed
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/36d384ed
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/36d384ed

Branch: refs/heads/cordova-website
Commit: 36d384edb6cad1f539a5866f879b76296eb26dc8
Parents: 3272864
Author: Dmitry Blotsky <dm...@gmail.com>
Authored: Mon Sep 14 18:43:49 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Mon Sep 14 18:43:49 2015 -0700

----------------------------------------------------------------------
 www/static/js/index.js | 2 +-
 www/static/js/main.js  | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/36d384ed/www/static/js/index.js
----------------------------------------------------------------------
diff --git a/www/static/js/index.js b/www/static/js/index.js
index 1a2da92..a6fbb5e 100644
--- a/www/static/js/index.js
+++ b/www/static/js/index.js
@@ -117,8 +117,8 @@ $(document).ready(function () {
     // Smooth scroll to anchor links
     $("a[href^='#']").on('click', function(e) {
         if(this.hash) {
+
             // prevent default anchor click behavior
-            console.log('Scrolled to where you asked');
             e.preventDefault();
 
             // store hash

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/36d384ed/www/static/js/main.js
----------------------------------------------------------------------
diff --git a/www/static/js/main.js b/www/static/js/main.js
index 856378f..a52d467 100644
--- a/www/static/js/main.js
+++ b/www/static/js/main.js
@@ -1,17 +1,16 @@
 $(document).ready(function () {
 
 	function setHeroHeight() {
-		console.log('IT works!');
+
 		// resize the hero to the innerWidth of the window
 		var window_height = window.innerHeight;
 		var navbar_spacer = $('#_fixed_navbar_spacer').height();
 		var adjusted_window_height = window_height - navbar_spacer;
 		if (adjusted_window_height > 549) { // do not resize on small devices
 			$('#hero').height(adjusted_window_height);
-			console.log('new height ' + adjusted_window_height)
 		}
 	}
+
 	setHeroHeight();
 	$(window).resize(function() { setHeroHeight() });
-
  });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org