Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 41fa7be

Browse files
committed
(CR) reinit websocket/cleanly restart on configuration change - MSIS-2935
1 parent 90ba39b commit 41fa7be

20 files changed

+611
-224
lines changed

dist/iink.esm.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iink.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iink.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iink.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/examples.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ nav {
6666
margin: 0 12px;
6767
width: 500px;
6868
}
69+
input:not([type='checkbox']) {
70+
width: auto;
71+
padding: 0 15px;
72+
color: #131F26;
73+
-webkit-appearance: none;
74+
appearance: none;
75+
height: 2.625rem;
76+
font: 600 16px "Source Sans Pro",sans-serif;
77+
border: 1px solid #CED5D9;
78+
border-radius: 3px;
79+
-webkit-tap-highlight-color: transparent;
80+
}
6981

7082
select {
7183
width: auto;
@@ -442,6 +454,12 @@ select:focus {
442454
-webkit-box-shadow: none;
443455
box-shadow: none;
444456
}
457+
.classic-btn.success {
458+
background: #29ac0f;
459+
}
460+
.classic-btn.reset {
461+
background: #ffaf1a;
462+
}
445463

446464
/** Undo redo Buttons **/
447465

examples/index.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ <h3><a class="title" name="v4-ws-non-specific">Not specific</a></h3>
101101
</div>
102102
</div>
103103
<div class="grid-column-two">
104-
<p><strong>Change the language</strong></p>
104+
<p><strong>Change configuration</strong></p>
105105
<div class="center">
106-
<a href="non-version-specific/change_language.html" class="btn">
106+
<a href="non-version-specific/change_configuration.html" class="btn">
107107
<svg class="icn">
108108
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
109109
</svg>
@@ -118,6 +118,21 @@ <h3><a class="title" name="v4-ws-non-specific">Not specific</a></h3>
118118
Get source code
119119
</a>
120120
</div>
121+
<!-- <p><strong>Import JIIX</strong></p>
122+
<div class="center">
123+
<a href="v4/websocket_text_iink_import_jiix.html" class="btn">
124+
<svg class="icn">
125+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
126+
</svg>
127+
View example
128+
</a>
129+
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/websocket_text_iink_import_jiix.htmlhtml" class="btn">
130+
<svg class="icn">
131+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
132+
</svg>
133+
Get source code
134+
</a>
135+
</div> -->
121136
</div>
122137
</div>
123138

@@ -326,21 +341,6 @@ <h3><a class="title" name="v4-ws-text">Text</a></h3>
326341
Get source code
327342
</a>
328343
</div>
329-
<p><strong>Import JIIX</strong></p>
330-
<div class="center">
331-
<a href="v4/websocket_text_iink_import_jiix.html" class="btn">
332-
<svg class="icn">
333-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
334-
</svg>
335-
View example
336-
</a>
337-
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/websocket_text_iink_import_jiix.htmlhtml" class="btn">
338-
<svg class="icn">
339-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
340-
</svg>
341-
Get source code
342-
</a>
343-
</div>
344344
</div>
345345
</div>
346346

@@ -433,12 +433,12 @@ <h2><a class="title" name="v4-rest">iink SDK web with REST</a></h2>
433433
<div class="grid-column-one">
434434
<p><strong>TEXT with iink SDK web</strong></p>
435435
<div class="center">
436-
<a href="v4/rest/rest_text_iink.html" class="btn">
436+
<a href="v4/rest_text_iink.html" class="btn">
437437
<svg class="icn">
438438
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
439439
</svg>
440440
View example</a>
441-
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest/rest_text_iink.html"
441+
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest_text_iink.html"
442442
class="btn">
443443
<svg class="icn">
444444
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
@@ -447,12 +447,12 @@ <h2><a class="title" name="v4-rest">iink SDK web with REST</a></h2>
447447
</div>
448448
<p><strong>DIAGRAM with iink SDK web</strong></p>
449449
<div class="center">
450-
<a href="v4/rest/rest_diagram_iink.html" class="btn">
450+
<a href="v4/rest_diagram_iink.html" class="btn">
451451
<svg class="icn">
452452
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
453453
</svg>
454454
View example</a>
455-
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest/rest_diagram_iink.html"
455+
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest_diagram_iink.html"
456456
class="btn">
457457
<svg class="icn">
458458
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
@@ -461,12 +461,12 @@ <h2><a class="title" name="v4-rest">iink SDK web with REST</a></h2>
461461
</div>
462462
<p><strong>iinkJS usage without the UI </strong></p>
463463
<div class="center">
464-
<a href="v4/rest/rest_no_ui.html" class="btn">
464+
<a href="v4/rest_no_ui.html" class="btn">
465465
<svg class="icn">
466466
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
467467
</svg>
468468
View example</a>
469-
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest/rest_no_ui.html"
469+
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest_no_ui.html"
470470
class="btn">
471471
<svg class="icn">
472472
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
@@ -477,12 +477,12 @@ <h2><a class="title" name="v4-rest">iink SDK web with REST</a></h2>
477477
<div class="grid-column-two">
478478
<p><strong>MATH with iink SDK web</strong></p>
479479
<div class="center">
480-
<a href="v4/rest/rest_math_iink.html" class="btn">
480+
<a href="v4/rest_math_iink.html" class="btn">
481481
<svg class="icn">
482482
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
483483
</svg>
484484
View example</a>
485-
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest/rest_math_iink.html"
485+
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest_math_iink.html"
486486
class="btn">
487487
<svg class="icn">
488488
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
@@ -491,12 +491,12 @@ <h2><a class="title" name="v4-rest">iink SDK web with REST</a></h2>
491491
</div>
492492
<p><strong>RAW CONTENT with iink SDK web</strong></p>
493493
<div class="center">
494-
<a href="v4/rest/rest_raw_content_iink.html" class="btn">
494+
<a href="v4/rest_raw_content_iink.html" class="btn">
495495
<svg class="icn">
496496
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
497497
</svg>
498498
View example</a>
499-
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest/rest_raw_content_iink.html"
499+
<a href="https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest_raw_content_iink.html"
500500
class="btn">
501501
<svg class="icn">
502502
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>

0 commit comments

Comments
 (0)