summaryrefslogtreecommitdiffstats
path: root/js/public
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-13 17:37:19 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-13 17:37:19 +0200
commit3149963853a07e763ceba634b1dbf077ff5da9c1 (patch)
tree238f8687765b6e244339e961a882a152f157154f /js/public
parentee9e17ef17cb212e8a89175fccfa4f44b6da8ad5 (diff)
remove debug console.log output from import
Diffstat (limited to 'js/public')
-rw-r--r--js/public/app.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/js/public/app.js b/js/public/app.js
index d76937c47..358b1dacc 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -468,7 +468,6 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
return FolderBl["import"](fileContent);
} catch (_error) {
error = _error;
- console.log(error);
return $scope.error = true;
}
};
@@ -1021,8 +1020,6 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
_results.push(this._feedBl.create(item.getUrl(), parentFolderId));
} catch (_error) {
error = _error;
- console.log('feed ' + item.getUrl() + ' exists');
- _results.push(console.log(error));
}
}
}
@@ -1936,7 +1933,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
(function() {
- angular.module('News').factory('OPMLParser', function() {
+ angular.module('News').factory('_OPMLParser', function() {
var Feed, Folder, OPMLParser;
Feed = (function() {
@@ -2021,7 +2018,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
return OPMLParser;
})();
- return new OPMLParser();
+ return OPMLParser;
});
}).call(this);
@@ -2580,6 +2577,12 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
}
]);
+ angular.module('News').factory('OPMLParser', [
+ '_OPMLParser', function(_OPMLParser) {
+ return new _OPMLParser();
+ }
+ ]);
+
}).call(this);
// Generated by CoffeeScript 1.6.2