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
2019-12-10 16:49:03 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
21bbbae1770da54b705ae0acef29d2584c640adb
21bbbae1
1 parent
f049b700
styling loop application
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
components/console.js
tests/loop/loop.html
components/console.js
View file @
21bbbae
...
...
@@ -24,7 +24,7 @@ Console = ARCS.Component.create(
s
.
style
.
color
=
color
;
var
elapsed
=
(
new
Date
().
getTime
()
-
this
.
timeRef
);
s
.
innerHTML
=
'<span class="marker">'
+
(
elapsed
/
1000
).
toFixed
(
3
)
+
'</span>'
+
Array
.
prototype
.
join
.
call
(
args
,
' '
);
s
.
innerHTML
=
'<span class="marker">'
+
(
elapsed
/
1000
).
toFixed
(
3
)
+
'</span>
'
+
Array
.
prototype
.
join
.
call
(
args
,
' '
);
output
.
appendChild
(
s
);
output
.
appendChild
(
document
.
createElement
(
"br"
));
},
...
...
tests/loop/loop.html
View file @
21bbbae
...
...
@@ -6,11 +6,16 @@
type=
"module"
src=
"../../build/arcs_browser.js"
>
</script>
<style>
body
{
font-family
:
sans-serif
;
}
</style>
</head>
<body>
<h1>
ARCS in Web Browser
</h1>
<div
style=
"height:
100px
; overflow: auto; border: solid 1px navy;"
>
<p
id=
"output"
style=
"margin: 5px; padding: 5px;"
></p>
<div
style=
"height:
80vh
; overflow: auto; border: solid 1px navy;"
>
<p
id=
"output"
style=
"margin: 5px; padding: 5px;
font-family: monospace;
"
></p>
<div>
</body>
</html>
...
...
Please
register
or
login
to post a comment