Browse Source

BI-23104

es6
windy 6 years ago
parent
commit
20864cb730
  1. 3
      dist/base.js
  2. 3
      dist/bundle.js
  3. 3
      dist/fineui.js
  4. 3
      src/base/sql/editor.sql.js

3
dist/base.js vendored

@ -21510,7 +21510,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
},
getValue: function () {
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(_.sortBy(line.markedSpans, "from"), function (i, ms) {
@ -21528,6 +21528,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
});
return value;
});
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
},
setValue: function (v) {

3
dist/bundle.js vendored

@ -57276,7 +57276,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
},
getValue: function () {
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(_.sortBy(line.markedSpans, "from"), function (i, ms) {
@ -57294,6 +57294,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
});
return value;
});
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
},
setValue: function (v) {

3
dist/fineui.js vendored

@ -57519,7 +57519,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
},
getValue: function () {
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(_.sortBy(line.markedSpans, "from"), function (i, ms) {
@ -57537,6 +57537,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
});
return value;
});
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
},
setValue: function (v) {

3
src/base/sql/editor.sql.js

@ -112,7 +112,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
},
getValue: function () {
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(_.sortBy(line.markedSpans, "from"), function (i, ms) {
@ -130,6 +130,7 @@ BI.SQLEditor = BI.inherit(BI.Widget, {
});
return value;
});
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
},
setValue: function (v) {

Loading…
Cancel
Save