mirror of
https://github.com/gchq/CyberChef
synced 2025-12-23 03:33:24 +00:00
Converted all modules from CommonJS to ES6
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* @param {string} name - The name of the category.
|
||||
* @param {boolean} selected - Whether this category is pre-selected or not.
|
||||
*/
|
||||
var HTMLCategory = module.exports = function(name, selected) {
|
||||
var HTMLCategory = function(name, selected) {
|
||||
this.name = name;
|
||||
this.selected = selected;
|
||||
this.opList = [];
|
||||
@@ -48,3 +48,5 @@ HTMLCategory.prototype.toHtml = function() {
|
||||
html += "</ul></div></div>";
|
||||
return html;
|
||||
};
|
||||
|
||||
export default HTMLCategory;
|
||||
|
||||
Reference in New Issue
Block a user