Skip to content

Commit

Permalink
Merge branch 'main' into 736-address-nearbygpscoordinate-non-determin…
Browse files Browse the repository at this point in the history
…istic-results
  • Loading branch information
Shinigami92 authored Apr 1, 2022
2 parents d7a9317 + caa5f16 commit cbf2384
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/commerce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit cbf2384

Please sign in to comment.