This commit is contained in:
@@ -26503,8 +26503,8 @@ cr.getObjectRefTable = function () { return [
|
||||
cr.plugins_.Function,
|
||||
cr.plugins_.SenaPlugin,
|
||||
cr.plugins_.Sprite,
|
||||
cr.plugins_.Touch,
|
||||
cr.plugins_.Text,
|
||||
cr.plugins_.Touch,
|
||||
cr.behaviors.Rex_MoveTo,
|
||||
cr.behaviors.Fade,
|
||||
cr.behaviors.DragnDrop,
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 376 KiB After Width: | Height: | Size: 418 KiB |
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": 1771847544,
|
||||
"version": 1772003401,
|
||||
"fileList": [
|
||||
"data.js",
|
||||
"c2runtime.js",
|
||||
|
||||
@@ -333,7 +333,7 @@ SenaSDK.prototype.getTotalQuestions = function () {
|
||||
};
|
||||
|
||||
// Settings cho postMessage waiting
|
||||
SenaSDK.prototype.POSTMESSAGE_TIMEOUT_MS = 1000; // 5 giây (chỉ dùng cho preview mode)
|
||||
SenaSDK.prototype.POSTMESSAGE_TIMEOUT_MS = 3000; // 5 giây (chỉ dùng cho preview mode)
|
||||
|
||||
SenaSDK.prototype.load = function (callback, template = "G2510S1T30") {
|
||||
let self = this;
|
||||
@@ -878,14 +878,12 @@ SenaSDK.prototype.guide = function () {
|
||||
return guide;
|
||||
};
|
||||
/**
|
||||
* Get the question text
|
||||
* @returns {string} Question or request text
|
||||
* Get the question text/url
|
||||
* @returns {string} Question, request text, or URL
|
||||
*/
|
||||
SenaSDK.prototype.getQuestionValue = function () {
|
||||
var q = String(this.data.question || "").trim();
|
||||
if (q.toLowerCase().startsWith("http")) {
|
||||
return "";
|
||||
}
|
||||
// Đã bỏ chặn URL để có thể lấy link ảnh/audio
|
||||
return q;
|
||||
};
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user