|
@@ -712,13 +712,6 @@ const app = Vue.createApp({
|
|
|
|
|
|
this.saveFile(`${this.ruleExport.ruleID}.md`, output, 'text/markdown');
|
|
this.saveFile(`${this.ruleExport.ruleID}.md`, output, 'text/markdown');
|
|
},
|
|
},
|
|
- /**
|
|
|
|
- * Handles the click event for downloading the rule as a JSON file
|
|
|
|
- */
|
|
|
|
- handleClickExport() {
|
|
|
|
- const output = this.json;
|
|
|
|
- this.saveFile(`${this.ruleExport.ruleID}.json`, output, 'application/json');
|
|
|
|
- },
|
|
|
|
/**
|
|
/**
|
|
* IE10+ Firefox, and Chrome method for saving a file
|
|
* IE10+ Firefox, and Chrome method for saving a file
|
|
* https://stackoverflow.com/a/33542499
|
|
* https://stackoverflow.com/a/33542499
|