Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
synergy-components
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
synergy-components
Commits
ff5fcfdb
Commit
ff5fcfdb
authored
Jul 12, 2024
by
Sergey Antonovich
🇯🇵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update jSynergy.js
parent
83c634ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
6 deletions
+52
-6
interpreter/jSynergy.js
interpreter/jSynergy.js
+52
-6
No files found.
interpreter/jSynergy.js
View file @
ff5fcfdb
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
* Docs: `http://gitlab.lan.arta.kz/community/synergy-components/blob/master/interpreter/jSynergyDocs.md`
* Docs: `http://gitlab.lan.arta.kz/community/synergy-components/blob/master/interpreter/jSynergyDocs.md`
*
*
* Belongs to `TOO Arta Software`
* Belongs to `TOO Arta Software`
* Last modified: 1
0
.07.2024
* Last modified: 1
2
.07.2024
* Contributes users: none
* Contributes users: none
* Version: 1.0.1
0
* Version: 1.0.1
1
*
*
* By yandexphp
* By yandexphp
*/
*/
...
@@ -623,7 +623,7 @@ function __classSynergy() {
...
@@ -623,7 +623,7 @@ function __classSynergy() {
if
(
if
(
isCompToTable
&&
!
__CLIENT__
.
isExistsComp
(
args
.
c
,
args
.
ot
,
args
.
b
)
||
isCompToTable
&&
!
__CLIENT__
.
isExistsComp
(
args
.
c
,
args
.
ot
,
args
.
b
)
||
!
__CLIENT__
.
isExistsComp
(
args
.
c
)
!
isCompToTable
&&
!
__CLIENT__
.
isExistsComp
(
args
.
c
)
)
{
)
{
return
null
;
return
null
;
}
}
...
@@ -711,7 +711,7 @@ function __classSynergy() {
...
@@ -711,7 +711,7 @@ function __classSynergy() {
if
(
if
(
isCompToTable
&&
!
__CLIENT__
.
isExistsComp
(
args
.
c
,
args
.
vt
,
args
.
ob
)
||
isCompToTable
&&
!
__CLIENT__
.
isExistsComp
(
args
.
c
,
args
.
vt
,
args
.
ob
)
||
!
__CLIENT__
.
isExistsComp
(
args
.
c
)
!
isCompToTable
&&
!
__CLIENT__
.
isExistsComp
(
args
.
c
)
)
{
)
{
return
__CLIENT__
;
return
__CLIENT__
;
}
}
...
@@ -1518,9 +1518,9 @@ function __classSynergy() {
...
@@ -1518,9 +1518,9 @@ function __classSynergy() {
this
.
about
=
{
this
.
about
=
{
name
:
'
jSynergy
'
,
name
:
'
jSynergy
'
,
type
:
'
Library
'
,
type
:
'
Library
'
,
version
:
'
1.0.1
0
Release
'
,
version
:
'
1.0.1
1
Release
'
,
created
:
'
17.10.2018
'
,
created
:
'
17.10.2018
'
,
update
:
'
1
0
.07.2024
'
,
update
:
'
1
2
.07.2024
'
,
company
:
'
Arta Software
'
,
company
:
'
Arta Software
'
,
platform_versions
:
{
platform_versions
:
{
'
3.12
'
:
'
[Not support]
'
,
'
3.12
'
:
'
[Not support]
'
,
...
@@ -1675,6 +1675,52 @@ function __classSynergy() {
...
@@ -1675,6 +1675,52 @@ function __classSynergy() {
});
});
}
}
if
(
!
Array
.
prototype
.
findIndex
)
{
Array
.
prototype
.
findIndex
=
function
(
callback
,
thisArg
)
{
if
(
this
==
null
)
{
throw
new
TypeError
(
'
Array.prototype.findIndex called on null or undefined
'
)
}
if
(
typeof
callback
!==
'
function
'
)
{
throw
new
TypeError
(
'
callback must be a function
'
)
}
const
array
=
Object
(
this
)
const
length
=
array
.
length
>>>
0
for
(
let
i
=
0
;
i
<
length
;
i
++
)
{
if
(
callback
.
call
(
thisArg
,
array
[
i
],
i
,
array
))
{
return
i
}
}
return
-
1
}
}
if
(
!
Array
.
prototype
.
findLastIndex
)
{
Array
.
prototype
.
findLastIndex
=
function
(
callback
,
thisArg
)
{
if
(
this
==
null
)
{
throw
new
TypeError
(
'
Array.prototype.findLastIndex called on null or undefined
'
)
}
if
(
typeof
callback
!==
'
function
'
)
{
throw
new
TypeError
(
'
callback must be a function
'
)
}
const
array
=
Object
(
this
)
const
length
=
array
.
length
>>>
0
for
(
let
i
=
length
-
1
;
i
>=
0
;
i
--
)
{
if
(
callback
.
call
(
thisArg
,
array
[
i
],
i
,
array
))
{
return
i
}
}
return
-
1
}
}
if
(
!
Date
.
prototype
.
getListWeekDays
)
{
if
(
!
Date
.
prototype
.
getListWeekDays
)
{
Object
.
defineProperty
(
Date
.
prototype
,
'
getListWeekDays
'
,
{
Object
.
defineProperty
(
Date
.
prototype
,
'
getListWeekDays
'
,
{
value
:
function
()
{
value
:
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment