Browse Source

删除json format下载JSON头部的默认注释

zxlie 7 years ago
parent
commit
cb5cb85812
2 changed files with 1 additions and 3 deletions
  1. 0 2
      apps/json-format/format-lib.js
  2. 1 1
      apps/manifest.json

+ 0 - 2
apps/json-format/format-lib.js

@@ -118,9 +118,7 @@ let JsonFormatEntrance = (function () {
     let _downloadSupport = function (content) {
 
         // 下载链接
-        let localUrl = location.href;
         let dt = (new Date()).format('yyyyMMddHHmmss');
-        content = ['/* ', localUrl, ' */', '\n', content].join('');
         let blob = new Blob([content], {type: 'application/octet-stream'});
 
         let button = $('<button id="btnDownload">下载JSON</button>').appendTo('#optionBar');

+ 1 - 1
apps/manifest.json

@@ -1,6 +1,6 @@
 {
   "name": "WEB前端助手(FeHelper)",
-  "version": "2018.05.2918",
+  "version": "2018.06.1211",
   "manifest_version": 2,
   "default_locale": "zh_CN",
   "description": "FE助手:包括JSON格式化、二维码生成与解码、信息编解码、代码压缩、美化、页面取色、Markdown与HTML互转、网页滚动截屏、正则表达式、时间转换工具、编码规范检测、页面性能检测、Ajax接口调试",