From deeec5ff33576e3b57bce7dd24db6aa0d67eb90b Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 15 Oct 2018 09:49:34 -0400 Subject: beautify --- www/js/NewsCtrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/js/NewsCtrl.js') diff --git a/www/js/NewsCtrl.js b/www/js/NewsCtrl.js index 55712753..ba45fb0e 100644 --- a/www/js/NewsCtrl.js +++ b/www/js/NewsCtrl.js @@ -88,12 +88,12 @@ angular.module('zmApp.controllers').controller('zmApp.NewsCtrl', ['$scope', '$ro $http.get(zm.blogUrl, { - responseType:'text' + responseType: 'text' }) .then(function (datastr) { datastr = datastr.data; var trunc = "])}while(1);"; - datastr= datastr.substr(trunc.length); + datastr = datastr.substr(trunc.length); // console.log ("DATA:"+data); // var data = JSON.parse(datastr); -- cgit v1.2.3