diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-13 23:56:41 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-13 23:56:41 +0200 |
commit | 33342f4ea6c217975a7c2998ba3d13d9becd8f24 (patch) | |
tree | e73cc421ca41148d6d5d8d6f54722e00bb8c0899 /js/app/services/bl/feedbl.coffee | |
parent | ce7cd121f42b093569d7a31fac3bcd5837429cff (diff) |
add code to get favicons, fix #49
Diffstat (limited to 'js/app/services/bl/feedbl.coffee')
-rw-r--r-- | js/app/services/bl/feedbl.coffee | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/js/app/services/bl/feedbl.coffee b/js/app/services/bl/feedbl.coffee index ead15fcd7..38aa5bff0 100644 --- a/js/app/services/bl/feedbl.coffee +++ b/js/app/services/bl/feedbl.coffee @@ -23,14 +23,14 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. angular.module('News').factory 'FeedBl', ['_Bl', 'ShowAll', 'Persistence', 'ActiveFeed', 'FeedType', 'ItemModel', -'FeedModel', 'NewLoading', '_ExistsError', +'FeedModel', 'NewLoading', '_ExistsError', 'Utils', (_Bl, ShowAll, Persistence, ActiveFeed, FeedType, ItemModel, FeedModel, -NewLoading, _ExistsError) -> +NewLoading, _ExistsError, Utils) -> class FeedBl extends _Bl constructor: (@_showAll, @_feedModel, persistence, activeFeed, feedType, - itemModel, @_newLoading) -> + itemModel, @_newLoading, @_utils) -> super(activeFeed, persistence, itemModel, feedType.Feed) @@ -147,6 +147,7 @@ NewLoading, _ExistsError) -> urlHash: urlHash folderId: parentId unreadCount: 0 + faviconLink: 'url('+@_utils.imagePath('core', 'loading.gif')+')' @_feedModel.add(feed) @@ -171,6 +172,6 @@ NewLoading, _ExistsError) -> return new FeedBl(ShowAll, FeedModel, Persistence, ActiveFeed, FeedType, - ItemModel, NewLoading) + ItemModel, NewLoading, Utils) ]
\ No newline at end of file |