From 1b822c97b9d4c4f6588429ff06e0804d38177fef Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Wed, 17 Feb 2016 04:01:30 -0500 Subject: console cleanups Former-commit-id: 49f0a567d765d3ce1f580383248ee1e6e6a496ef --- www/js/NewsCtrl.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/js/NewsCtrl.js') diff --git a/www/js/NewsCtrl.js b/www/js/NewsCtrl.js index a84cbdfc..a0ab8565 100644 --- a/www/js/NewsCtrl.js +++ b/www/js/NewsCtrl.js @@ -31,7 +31,7 @@ $scope.openMenu = function () { // state, that effectively overwrites current view power management needs //------------------------------------------------------------------------ $scope.$on('$ionicView.enter', function () { - console.log("**VIEW ** News Ctrl Entered"); + // console.log("**VIEW ** News Ctrl Entered"); ZMDataModel.setAwake(false); @@ -53,6 +53,8 @@ $scope.openMenu = function () { $scope.loadPost = function (item, itemdate) { var lastDate = $localstorage.get("latestBlogPostChecked"); + + if (!lastDate) { ZMDataModel.zmDebug ("First time checking blog posts, I see"); @@ -89,7 +91,7 @@ $scope.openMenu = function () { .success (function(data) { //console.log ("Here2"); - console.log (JSON.stringify(data)); + // console.log (JSON.stringify(data)); for (var i=0; i