imdone-core
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -54,2 +54,2 @@ { | ||
} | ||
} | ||
} |
@@ -410,3 +410,3 @@ 'use strict'; | ||
// DOING:10 This is not working on some files (Created in windows) | ||
// #DOING:10 This is not working on some files (Created in windows) | ||
File.getLineNumber = function(content, pos) { | ||
@@ -413,0 +413,0 @@ var lines = content.split(/^/gm); |
@@ -107,3 +107,3 @@ 'use strict'; | ||
// #ARCHIVE:20 Fix loadConfig defaults | ||
// #DOING:10 issue:2 assigned:piascikj If a config is bad move it to config.json.bak and save a new one with defaults +enhancement | ||
// #DOING:20 issue:2 assigned:piascikj If a config is bad move it to config.json.bak and save a new one with defaults +enhancement | ||
cb = tools.cb(cb); | ||
@@ -110,0 +110,0 @@ var baseConfig = _.cloneDeep(constants.DEFAULT_CONFIG); |
@@ -666,2 +666,6 @@ 'use strict'; | ||
Repository.prototype.getList = function(name) { | ||
return _.find(this.getLists(), {name:name}); | ||
}; | ||
Repository.prototype.hideList = function(name, cb) { | ||
@@ -675,3 +679,3 @@ var self = this; | ||
var list = _.find(this.getLists(), {name:name}); | ||
var list = this.getList(name); | ||
if (list) { | ||
@@ -691,3 +695,3 @@ list.hidden = true; | ||
var list = _.find(this.getLists(), {name:name}); | ||
var list = this.getList(name); | ||
if (list) { | ||
@@ -710,3 +714,3 @@ list.hidden = false; | ||
cb = tools.cb(cb); | ||
var list = _.find(this.getLists(), {name:name}); | ||
var list = this.getList(name); | ||
// Only modify the lists if the list name exists | ||
@@ -713,0 +717,0 @@ var fn = function(err) { |
{ | ||
"name": "imdone-core", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "imdone-core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
138540
4146