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

Commit f3c8112

Browse files
authored
Merge pull request #970 from gets0ul/issue946_update_ui-router
Fix for issue #946
2 parents 688a6b7 + 19a651b commit f3c8112

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/services/blog.service.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import X2JS from 'xml2js'
1919

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

3939
deferred.resolve(result)
4040
})
41-
})
42-
.error(function(error) {
41+
}, function(error) {
4342
deferred.reject(error)
4443
})
4544

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"angular-sanitize": "^1.4.9",
5252
"angular-storage": "0.0.13",
5353
"angular-touch": "^1.4.9",
54-
"angular-ui-router": "^0.2.16",
54+
"angular-ui-router": "^0.4.2",
5555
"angularjs-toaster": "^1.0.0",
5656
"appirio-styles": "0.x.x",
5757
"appirio-tech-ng-iso-constants": "^1.0.6",

0 commit comments

Comments
 (0)