mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Converted all modules from CommonJS to ES6
This commit is contained in:
parent
0f2a5014be
commit
131b3a83c1
75 changed files with 395 additions and 282 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue