summaryrefslogtreecommitdiff
path: root/www/js/NewsCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-10-15 09:49:34 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-10-15 09:49:34 -0400
commitdeeec5ff33576e3b57bce7dd24db6aa0d67eb90b (patch)
treebc4cd0d50cf601e6fb3cdfe9de177c31cd33624e /www/js/NewsCtrl.js
parentbd1607efcaea59a5b4269628d5aa2999d6911b3e (diff)
beautify
Diffstat (limited to 'www/js/NewsCtrl.js')
-rw-r--r--www/js/NewsCtrl.js4
1 files changed, 2 insertions, 2 deletions
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);</x>";
- datastr= datastr.substr(trunc.length);
+ datastr = datastr.substr(trunc.length);
// console.log ("DATA:"+data);
//
var data = JSON.parse(datastr);