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
7f9c50f0
Commit
7f9c50f0
authored
May 27, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Web: Added Babel to the repo, so that the client doesn't need to download it.
parent
ea3a6844
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
7 deletions
+24
-7
java/jsw/co/src/babel.min.js
java/jsw/co/src/babel.min.js
+1
-0
java/jsw/ev/src/ev.html
java/jsw/ev/src/ev.html
+1
-1
java/jsw/flow/src/flow.html
java/jsw/flow/src/flow.html
+1
-1
java/jsw/ge/src/ge.html
java/jsw/ge/src/ge.html
+1
-1
java/jsw/opwind/src/opwind_menu.html
java/jsw/opwind/src/opwind_menu.html
+1
-1
java/jsw/xtt/src/xtt.html
java/jsw/xtt/src/xtt.html
+1
-1
src/tools/bld/src/jsw_generic.mk
src/tools/bld/src/jsw_generic.mk
+18
-2
No files found.
java/jsw/co/src/babel.min.js
0 → 100644
View file @
7f9c50f0
This diff is collapsed.
Click to expand it.
java/jsw/ev/src/ev.html
View file @
7f9c50f0
...
...
@@ -45,7 +45,7 @@
</div>
</div>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
"
https://unpkg.com/@babel/standalone/
babel.min.js"
></script>
<script
src=
"babel.min.js"
></script>
<script
type=
"text/babel"
src=
"pwr.ts"
></script>
<script
type=
"text/babel"
src=
"cli.ts"
></script>
<script
type=
"text/babel"
src=
"gdh.ts"
></script>
...
...
java/jsw/flow/src/flow.html
View file @
7f9c50f0
...
...
@@ -21,7 +21,7 @@
</div>
</div>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
"
https://unpkg.com/@babel/standalone/
babel.min.js"
></script>
<script
src=
"babel.min.js"
></script>
<script
type=
"text/babel"
src=
"pwr.ts"
></script>
<script
type=
"text/babel"
src=
"gdh.ts"
></script>
<script
type=
"text/babel"
src=
"draw.ts"
></script>
...
...
java/jsw/ge/src/ge.html
View file @
7f9c50f0
...
...
@@ -7,7 +7,7 @@
<body>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
"
https://unpkg.com/@babel/standalone/
babel.min.js"
></script>
<script
src=
"babel.min.js"
></script>
<script
type=
"text/babel"
src=
"pwr.ts"
></script>
<script
type=
"text/babel"
src=
"cli.ts"
></script>
<script
type=
"text/babel"
src=
"gdh.ts"
></script>
...
...
java/jsw/opwind/src/opwind_menu.html
View file @
7f9c50f0
...
...
@@ -20,7 +20,7 @@
<button
id=
"logout_button"
type=
"button"
class=
"leftmenu-button"
>
Logout
</button>
</div>
</div>
<script
src=
"
https://unpkg.com/@babel/standalone/
babel.min.js"
></script>
<script
src=
"babel.min.js"
></script>
<script
type=
"text/babel"
src=
"crypt.ts"
></script>
<script
type=
"text/babel"
src=
"pwr.ts"
></script>
<script
type=
"text/babel"
src=
"gdh.ts"
></script>
...
...
java/jsw/xtt/src/xtt.html
View file @
7f9c50f0
...
...
@@ -33,7 +33,7 @@
</div>
</div>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
"
https://unpkg.com/@babel/standalone/
babel.min.js"
></script>
<script
src=
"babel.min.js"
></script>
<script
type=
"text/babel"
src=
"pwr.ts"
></script>
<script
type=
"text/babel"
src=
"cli.ts"
></script>
<script
type=
"text/babel"
src=
"gdh.ts"
></script>
...
...
src/tools/bld/src/jsw_generic.mk
View file @
7f9c50f0
...
...
@@ -21,6 +21,7 @@ source_dirs := $(co_source)
-include
jsw_local.mk
vpath
%.js
$(co_source)
vpath
%.ts
$(co_source)
vpath
%.html
$(co_source)
vpath
%.png
$(co_source)
...
...
@@ -33,6 +34,15 @@ js_sources := $(sort \
)
\
)
ts_sources
:=
$(
sort
\
$(
foreach
file,
\
$(
foreach
dir
,
\
$(source_dirs)
,
\
$(
wildcard
$(dir)
/
*
.ts
)
\
)
,
$(
notdir
$(file)
)
\
)
\
)
html_sources
:=
$(
sort
\
$(
foreach
file,
\
$(
foreach
dir
,
\
...
...
@@ -61,10 +71,12 @@ css_sources := $(sort \
)
export_js
:=
$(
addprefix
$(web_dir)
/,
$(js_sources)
)
export_ts
:=
$(
addprefix
$(web_dir)
/,
$(ts_sources)
)
export_html
:=
$(
addprefix
$(web_dir)
/,
$(html_sources)
)
export_png
:=
$(
addprefix
$(web_dir)
/,
$(png_sources)
)
export_css
:=
$(
addprefix
$(web_dir)
/,
$(css_sources)
)
clean_js
:=
$(
patsubst
%.js,clean_%.js,
$(js_sources)
)
clean_ts
:=
$(
patsubst
%.ts,clean_%.ts,
$(ts_sources)
)
clean_html
:=
$(
patsubst
%.html,clean_%.html,
$(html_sources)
)
clean_png
:=
$(
patsubst
%.png,clean_%.png,
$(png_sources)
)
clean_css
:=
$(
patsubst
%.css,clean_%.css,
$(css_sources)
)
...
...
@@ -75,13 +87,13 @@ all : init copy lib exe | silent
init
:
copy
:
$(export_js) $(export_html) $(export_png) $(export_css) | silent
copy
:
$(export_js) $(export_
ts) $(export_
html) $(export_png) $(export_css) | silent
lib
:
exe
:
clean
:
$(clean_js) $(clean_html) $(clean_png) $(clean_css)
clean
:
$(clean_js) $(clean_
ts) $(clean_
html) $(clean_png) $(clean_css)
clean_copy
:
$(clean)
...
...
@@ -94,6 +106,10 @@ $(clean_js) : clean_%.js : %.js
@
echo
"Removing js:
$(web_dir)
/
$*
.js"
@
$(rm)
$(rmflags)
$(web_dir)
/
$*
.js
$(clean_ts)
:
clean_%.ts : %.ts
@
echo
"Removing ts:
$(web_dir)
/
$*
.ts"
@
$(rm)
$(rmflags)
$(web_dir)
/
$*
.ts
$(clean_html)
:
clean_%.html : %.html
@
echo
"Removing html:
$(web_dir)
/
$*
.html"
@
$(rm)
$(rmflags)
$(web_dir)
/
$*
.html
...
...
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