Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Fix for issue #946 #970

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions app/services/blog.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import X2JS from 'xml2js'

// fetch blog rss feed
$http.get(CONSTANTS.BLOG_LOCATION)
.success(function(data) {
.then(function(data) {
// parse the blog rss feed using x2js
var parseString = X2JS.parseString
parseString(data.trim(), function (err, res) {
Expand All @@ -38,8 +38,7 @@ import X2JS from 'xml2js'

deferred.resolve(result)
})
})
.error(function(error) {
}, function(error) {
deferred.reject(error)
})

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"angular-sanitize": "^1.4.9",
"angular-storage": "0.0.13",
"angular-touch": "^1.4.9",
"angular-ui-router": "^0.2.16",
"angular-ui-router": "^0.4.2",
"angularjs-toaster": "^1.0.0",
"appirio-styles": "0.x.x",
"appirio-tech-ng-iso-constants": "^1.0.6",
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy