Browse Source

BI-19439

【5.0数据挖掘】R语言集成,编码框中输入符号$,保存之后会被清除掉
还原之前bi.code_editor中不正确的正则匹配,否则会出现代码输入框不能显示"$"字符的问题
es6
MrErHu 7 years ago
parent
commit
45b8f30cc9
  1. 62
      dist/_fineui.min.js
  2. 2
      dist/base.js
  3. 2
      dist/bundle.js
  4. 12
      dist/bundle.min.js
  5. 2
      dist/fineui.js
  6. 62
      dist/fineui.min.js
  7. 2
      src/base/single/editor/editor.code.js

62
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/base.js vendored

@ -18250,7 +18250,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
}, },
_analyzeContent: function (v) { _analyzeContent: function (v) {
var regx = /\$[\{][^\}]*[\}]|[^\$\{]*[^\$\{]/g; var regx = /\$[\{][^\}]*[\}]|(\s+)|\w*\w|\$\{[^\$\(\)\+\-\*\/)\$,]*\w\}|\$\{[^\$\(\)\+\-\*\/]*\w\}|\$\{[^\$\(\)\+\-\*\/]*[\u4e00-\u9fa5]\}|\w|(.)|\n/g;
return v.match(regx); return v.match(regx);
}, },

2
dist/bundle.js vendored

@ -54010,7 +54010,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
}, },
_analyzeContent: function (v) { _analyzeContent: function (v) {
var regx = /\$[\{][^\}]*[\}]|[^\$\{]*[^\$\{]/g; var regx = /\$[\{][^\}]*[\}]|(\s+)|\w*\w|\$\{[^\$\(\)\+\-\*\/)\$,]*\w\}|\$\{[^\$\(\)\+\-\*\/]*\w\}|\$\{[^\$\(\)\+\-\*\/]*[\u4e00-\u9fa5]\}|\w|(.)|\n/g;
return v.match(regx); return v.match(regx);
}, },

12
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

@ -54253,7 +54253,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
}, },
_analyzeContent: function (v) { _analyzeContent: function (v) {
var regx = /\$[\{][^\}]*[\}]|[^\$\{]*[^\$\{]/g; var regx = /\$[\{][^\}]*[\}]|(\s+)|\w*\w|\$\{[^\$\(\)\+\-\*\/)\$,]*\w\}|\$\{[^\$\(\)\+\-\*\/]*\w\}|\$\{[^\$\(\)\+\-\*\/]*[\u4e00-\u9fa5]\}|\w|(.)|\n/g;
return v.match(regx); return v.match(regx);
}, },

62
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
src/base/single/editor/editor.code.js

@ -159,7 +159,7 @@ BI.CodeEditor = BI.inherit(BI.Single, {
}, },
_analyzeContent: function (v) { _analyzeContent: function (v) {
var regx = /\$[\{][^\}]*[\}]|[^\$\{]*[^\$\{]/g; var regx = /\$[\{][^\}]*[\}]|(\s+)|\w*\w|\$\{[^\$\(\)\+\-\*\/)\$,]*\w\}|\$\{[^\$\(\)\+\-\*\/]*\w\}|\$\{[^\$\(\)\+\-\*\/]*[\u4e00-\u9fa5]\}|\w|(.)|\n/g;
return v.match(regx); return v.match(regx);
}, },

Loading…
Cancel
Save