Toggle navigation
Toggle navigation
This project
Loading...
Sign in
arcs
/
arcs.js
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Yves Didier
2022-01-21 16:48:57 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
66dd5de47d9cd932c8bc15a9648f9ba00bffdfcd
66dd5de4
1 parent
0ad45331
fix on components for signal store
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
build/arcs.js
build/arcs.min.js
src/component.js
build/arcs.js
View file @
66dd5de
This diff is collapsed. Click to expand it.
build/arcs.min.js
View file @
66dd5de
This diff is collapsed. Click to expand it.
src/component.js
View file @
66dd5de
...
...
@@ -79,9 +79,9 @@ var Component = {
this
.
signals
=
{};
Object
.
assign
(
this
.
signals
,
name
.
prototype
.
signals
);
}
this
.
signals
[
signal
]
=
1
;
this
.
signals
[
signal
]
=
[]
;
};
name
.
slot
=
function
(
slot
,
func
)
{
var
i
;
if
(
slot
instanceof
Array
)
{
...
...
@@ -99,10 +99,10 @@ var Component = {
var
i
;
if
(
signal
instanceof
Array
)
{
for
(
i
=
0
;
i
<
signal
.
length
;
i
++
)
{
name
.
prototype
.
signals
[
signal
[
i
]]
=
1
;
name
.
prototype
.
signals
[
signal
[
i
]]
=
[]
;
}
}
else
{
name
.
prototype
.
signals
[
signal
]
=
1
;
name
.
prototype
.
signals
[
signal
]
=
[]
;
}
};
...
...
Please
register
or
login
to post a comment