crabatool 1.0.68 → 1.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tool/checkgspx.js CHANGED
@@ -3,7 +3,7 @@ var config = require('../lib/config.js');
3
3
  var fs = require('fs');
4
4
  var path = require('path');
5
5
  var htmlparser2 = require('htmlparser2');
6
- var warnTags = ['VPanel', 'HPanel', 'HiddenColumn', 'Hblock', 'Vblock', 'div', 'table', 'tr', 'td', 'br', 'HiddenField', 'CloseButton', 'CancelButton'];
6
+ var warnTags = ['VPanel', 'HPanel', 'HiddenColumn', 'Hblock', 'Vblock', 'div', 'table', 'tr', 'td', 'br', 'iframe', 'HiddenField', 'CloseButton', 'CancelButton'];
7
7
 
8
8
  module.exports.getResults = function() {
9
9
  var data = {
package/tool/checkjs.js CHANGED
@@ -28,7 +28,8 @@ var warnTagsInfo = {
28
28
  'br': '建议使用`CssStyle="margin:10px 0;"`增加间距或`VSPacer`',
29
29
  'HiddenField': '新平台里面99%的这个标签都没意义,`<HiddenField ID="hd" Value="${hd}"/>`取代方法,不用gspx解析一遍,改为js直接读取变量:`var hd =this.get_context("hd");`',
30
30
  'CloseButton': '如果是`<CloseButton Visible=false/>`这种建议直接去掉,新平台不用加这个标签都可以`Esc`关闭页面,每个页面默认支持Esc关闭',
31
- 'CancelButton': '如果是`<CancelButton Visible=false/>`这种建议直接去掉,新平台不用加这个标签都可以`Esc`关闭页面,每个页面默认支持Esc关闭'
31
+ 'CancelButton': '如果是`<CancelButton Visible=false/>`这种建议直接去掉,新平台不用加这个标签都可以`Esc`关闭页面,每个页面默认支持Esc关闭',
32
+ 'iframe': '建议使用IFrame'
32
33
  }
33
34
 
34
35