aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKirill Fedorenko <[email protected]>2022-04-01 17:04:11 +0300
committerGitHub <[email protected]>2022-04-01 16:04:11 +0200
commitcaa5f162933915d60750c7fcc2fde2eb9dcb1c90 (patch)
tree4f0a29bd7950cbb5aa9499a17bbe1c96e22c3d2e /src
parentc3be3b1945248ed422342b046ad765d252bbac05 (diff)
downloadfaker-caa5f162933915d60750c7fcc2fde2eb9dcb1c90.tar.xz
faker-caa5f162933915d60750c7fcc2fde2eb9dcb1c90.zip
chore: removed outcommented dead code in commerce.ts (#745)
Diffstat (limited to 'src')
-rw-r--r--src/commerce.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/commerce.ts b/src/commerce.ts
index 741a4a5f..79c485b2 100644
--- a/src/commerce.ts
+++ b/src/commerce.ts
@@ -89,34 +89,6 @@ export class Commerce {
);
}
- // TODO @Shinigami92 2022-01-12: unimplemented member functions
-
- /*
- categories (num) {
- var categories = [];
-
- do {
- var category = this.faker.random.arrayElement(this.faker.definitions.commerce.department);
- if(categories.indexOf(category) === -1) {
- categories.push(category);
- }
- } while(categories.length < num);
-
- return categories;
- };
-
- */
- /*
- mergeCategories (categories) {
- var separator = this.faker.definitions.separator || " &";
- // TODO: find undefined here
- categories = categories || this.faker.definitions.commerce.categories;
- var commaSeparated = categories.slice(0, -1).join(', ');
-
- return [commaSeparated, categories[categories.length - 1]].join(separator + " ");
- };
- */
-
/**
* Returns an adjective describing a product.
*