diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-13 17:28:07 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-13 17:28:38 +0200 |
commit | 38e4b6d7e973bc99811139066a7a047b4bd76a4c (patch) | |
tree | fb88f63c0a69cc527956715333dddd20d3b94f0b /js/app/services/opmlparser.coffee | |
parent | 8df86d1991e25dfaef8623e2f4945c67dbc5f318 (diff) |
implement opml import, fix #23
Diffstat (limited to 'js/app/services/opmlparser.coffee')
-rw-r--r-- | js/app/services/opmlparser.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app/services/opmlparser.coffee b/js/app/services/opmlparser.coffee index 9586cbaf2..904ff2954 100644 --- a/js/app/services/opmlparser.coffee +++ b/js/app/services/opmlparser.coffee @@ -20,7 +20,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. ### -angular.module('News').factory '_OPMLParser', -> +angular.module('News').factory 'OPMLParser', -> class Feed @@ -75,4 +75,4 @@ angular.module('News').factory '_OPMLParser', -> @_recursivelyParse($outline, folder) - return OPMLParser + return new OPMLParser() |