summaryrefslogtreecommitdiff
path: root/www/js/NewsCtrl.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-02-17 04:01:30 -0500
committerpliablepixels <pliablepixels@gmail.com>2016-02-17 04:01:30 -0500
commit1b822c97b9d4c4f6588429ff06e0804d38177fef (patch)
tree7ac9aa86e3b9fefe69818c08901eca793f1b5ff6 /www/js/NewsCtrl.js
parent59ff5a70dba91ab992f55d2cec26aff99a0a8a2f (diff)
console cleanups
Former-commit-id: 49f0a567d765d3ce1f580383248ee1e6e6a496ef
Diffstat (limited to 'www/js/NewsCtrl.js')
-rw-r--r--www/js/NewsCtrl.js6
1 files changed, 4 insertions, 2 deletions
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<data.length; i++)
{
$scope.newsItems.push({title:data[i].title, url:data[i].url, date:data[i].date});