parent
2b3b9de8bc
commit
b9d888ab3a
9 changed files with 41 additions and 25 deletions
1
setup/sql/updates/1767034443_01.sql
Normal file
1
setup/sql/updates/1767034443_01.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`build`, ''), ' globaljs');
|
||||
|
|
@ -194,13 +194,11 @@ var ConditionList = new function() {
|
|||
str = g_conditions[strIdx];
|
||||
|
||||
// fill in params
|
||||
str = $WH.sprintfa(str, param[0], param[1], param[2]);
|
||||
|
||||
return $WH.sprintfa(str, param[0], param[1], param[2], param[3])
|
||||
// resolve NegativeCondition
|
||||
str = str.replace(/\$N([^:]*):([^;]*);/g, '$' + (negate > 0 ? 2 : 1));
|
||||
|
||||
.replace(/\$N([^:]*):([^;]*);/g, '$' + (negate > 0 ? 2 : 1))
|
||||
// resolve vars
|
||||
return str.replace(/\$C(\d+)([^:]*):([^;]*);/g, (_, i, y, n) => (i > 0 ? y : n));
|
||||
.replace(/\$C(\d+)([^:]*):([^;]*);/g, (_, i, y, n) => (i > 0 ? y : n));
|
||||
}
|
||||
|
||||
function _createTab()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue