Showing 3 of 3 total issues
Function download
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Downloader.prototype.download = function(post) {
var _this = this;
var title_slug = Downloader._slug(post.title);
// Get the resources to download:
Function _handleSaved
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
cli._handleSaved = function(program, reddit) {
if(program.download) {
// If the flag was supplied without a value, set it to the default target
// directory:
if(program.download === true) {
Function saved
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Reddit.prototype.saved = function(after, saved_links) {
if(!saved_links) {
saved_links = [];
}