Revert "Revert "Merge account""

pull/43/merge
Nikolai Onken 2015-05-27 13:19:29 +02:00
rodzic b9f8bb6aeb
commit 6c1132bfaf
2 zmienionych plików z 6 dodań i 1 usunięć

1
node_modules/frontdoor/lib/section.js wygenerowano vendored
Wyświetl plik

@ -87,6 +87,7 @@ module.exports = function Section(name, description, types) {
if (!sections[name]) if (!sections[name])
sections[name] = []; sections[name] = [];
section.parent = this;
sections[name].push(section); sections[name].push(section);
}; };

Wyświetl plik

@ -147,7 +147,7 @@ define(function(require, exports, module) {
function done(err) { function done(err) {
if (err) { if (err) {
console.error(err); console.error(err, err.stack);
process.exit(1); process.exit(1);
} }
pending--; pending--;
@ -242,6 +242,10 @@ define(function(require, exports, module) {
return false; return false;
} }
} }
if (name == "node_modules" && /plugins\/[^\/\\]+/.test(dir))
return true;
if (/^(LICENSE|README.md)$/.test(name))
return true;
return /\.(jsx?|css|less|xml|ejs|prv|pub|sh)$|(^|[/])^(mock|example|\.[^/]*|package.json)[/]?$/.test(name); return /\.(jsx?|css|less|xml|ejs|prv|pub|sh)$|(^|[/])^(mock|example|\.[^/]*|package.json)[/]?$/.test(name);
}, },
onDir: function(e) { console.log("\x1b [1A\x1b[0K" + e) } onDir: function(e) { console.log("\x1b [1A\x1b[0K" + e) }