Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
Esteban Blanc
proview
Commits
5ad97ed1
Commit
5ad97ed1
authored
May 03, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JS: Move common functionality to a library file.
parent
0ea10baa
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
428 additions
and
848 deletions
+428
-848
java/jsw/co/src/cli.js
java/jsw/co/src/cli.js
+391
-0
java/jsw/ev/src/ev.html
java/jsw/ev/src/ev.html
+1
-0
java/jsw/ev/src/ev.js
java/jsw/ev/src/ev.js
+0
-28
java/jsw/ge/src/ge.html
java/jsw/ge/src/ge.html
+1
-0
java/jsw/ge/src/ge.js
java/jsw/ge/src/ge.js
+0
-393
java/jsw/xtt/src/toolbar.css
java/jsw/xtt/src/toolbar.css
+34
-34
java/jsw/xtt/src/xtt.html
java/jsw/xtt/src/xtt.html
+1
-0
java/jsw/xtt/src/xtt.js
java/jsw/xtt/src/xtt.js
+0
-393
No files found.
java/jsw/co/src/cli.js
0 → 100644
View file @
5ad97ed1
This diff is collapsed.
Click to expand it.
java/jsw/ev/src/ev.html
View file @
5ad97ed1
...
...
@@ -22,6 +22,7 @@
</div>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
pwr.js
></script>
<script
src=
cli.js
></script>
<script
src=
ev.js
></script>
<hr>
<address><a
href=
"mailto:claes@debian86.ssab.com"
></a></address>
...
...
java/jsw/ev/src/ev.js
View file @
5ad97ed1
"
use strict
"
;
/** Start Cli **/
function
CliTable
(
command
,
qualifier
)
{
this
.
command
=
command
;
this
.
qualifier
=
qualifier
;
}
var
CliC
=
{
SUCCESS
:
1
,
SYNTAX_ERROR
:
2
,
UNKNOWN_COMMAND
:
4
,
QUALNOTFOUND
:
6
,
VERB_VECT_SIZE
:
5
,
STATE_INIT
:
0
,
STATE_VERB
:
1
,
STATE_QUAL
:
2
,
STATE_QUALVALUE
:
3
,
STATE_SPACE
:
4
,
STATE_EQUAL
:
5
,
STATE_ERROR
:
6
,
STATE_QUOTE_VERB
:
7
,
STATE_QUOTE_QUALVALUE
:
8
,
STATE_QUALVALUE_EXACT
:
9
,
STATE_VERB_EXACT
:
10
,
TAB
:
'
'
,
SPACE
:
'
'
};
var
MhC
=
{
eEvent_Ack
:
1
,
eEvent_Block
:
2
,
...
...
java/jsw/ge/src/ge.html
View file @
5ad97ed1
...
...
@@ -8,6 +8,7 @@
<body>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
pwr.js
></script>
<script
src=
cli.js
></script>
<script
src=
ge.js
></script>
<hr>
<address><a
href=
"mailto:claes@debian86.ssab.com"
></a></address>
...
...
java/jsw/ge/src/ge.js
View file @
5ad97ed1
This diff is collapsed.
Click to expand it.
java/jsw/xtt/src/toolbar.css
View file @
5ad97ed1
...
...
@@ -50,7 +50,7 @@
}
.leftmenu-button
{
width
:
100%
;
width
:
100%
;
}
.login-frame
{
...
...
@@ -61,5 +61,5 @@
}
.login-field
{
width
:
100%
;
width
:
100%
;
}
java/jsw/xtt/src/xtt.html
View file @
5ad97ed1
...
...
@@ -18,6 +18,7 @@
</div>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
pwr.js
></script>
<script
src=
cli.js
></script>
<script
src=
xtt.js
></script>
<hr>
<address><a
href=
"mailto:claes@debian86.ssab.com"
></a></address>
...
...
java/jsw/xtt/src/xtt.js
View file @
5ad97ed1
This diff is collapsed.
Click to expand it.
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