diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-11 19:36:34 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-11 19:36:34 +0200 |
commit | 61395bc32d6f0cd53db66bac329428ea85e870cb (patch) | |
tree | b10b884dc9afd81e82c747fd6443b8b04419fe26 /js/app/services/bl/feedbl.coffee | |
parent | 9963975875836f768cc64f3a9dc00a1f33d9c07f (diff) |
fixed linting errors
Diffstat (limited to 'js/app/services/bl/feedbl.coffee')
-rw-r--r-- | js/app/services/bl/feedbl.coffee | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/app/services/bl/feedbl.coffee b/js/app/services/bl/feedbl.coffee index 68b288297..9cedee57c 100644 --- a/js/app/services/bl/feedbl.coffee +++ b/js/app/services/bl/feedbl.coffee @@ -140,13 +140,15 @@ NewLoading, _ExistsError) -> feed = title: url.replace( - /^(?:https?:\/\/)?(?:www\.)?([a-z0-9_\-\.]+)(?:\/.*)?$/gi, + /^(?:https?:\/\/)?(?:www\.)?([a-z0-9_\-\.]+)(?:\/.*)?$/gi, '$1') url: url urlHash: urlHash @_feedModel.add(feed) + console.log @_feedModel + success = (response) => if response.status == 'error' feed.error = response.msg |