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

Commit a6308f7

Browse files
committed
Pull request #49: Fix(examples) websocket_math_inside_page have wrong jiix version MSIS-3148
Merge in WS/iink-js from MSIS-3148 to master * commit '7660ae47496f2e9400810b0936324ee3955bc031': Fix(examples) websocket_math_inside_page have wrong jiix version MSIS-3148
2 parents 5df10ad + 7660ae4 commit a6308f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/v4/websocket_math_inside_page.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,23 +146,23 @@ <h3>Other forms of the theorem</h3>
146146
expressed as the Pythagorean equation:
147147

148148
<span class="mathContent"
149-
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/169","items":[{"type":"glyph","timestamp":"2018-11-2900:26:48.028000","label":"=","bounding-box":{"x":111.76708,"y":54.288994,"width":12.429764,"height":5.6213264},"id":"00000f0001000700ff00"}],"operands":[{"type":"+","id":"math/69","items":[{"type":"glyph","timestamp":"2018-11-2900:26:44.860000","label":"+","bounding-box":{"x":71.38607,"y":50.902233,"width":12.412308,"height":12.412304},"id":"00000c0001000700ff00"}],"operands":[{"type":"superscript","id":"math/48","operands":[{"type":"symbol","id":"math/23","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:26:42.681000","label":"a","bounding-box":{"x":48.947914,"y":53.136795,"width":9.6714706,"height":9.5318146},"id":"00000a0001000700ff00"}]},{"type":"number","id":"math/47","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:26:44.070000","label":"2","bounding-box":{"x":60.045666,"y":47.431675,"width":5.6352882,"height":8.557682},"id":"00000b0001000700ff00"}]}]},{"type":"superscript","id":"math/147","operands":[{"type":"symbol","id":"math/129","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:26:46.003000","label":"b","bounding-box":{"x":89.503502,"y":48.02174,"width":9.4968948,"height":14.64687},"id":"00000d0001000700ff00"}]},{"type":"number","id":"math/146","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:26:47.100000","label":"2","bounding-box":{"x":100.42667,"y":42.31662,"width":5.6352921,"height":8.557682},"id":"00000e0001000700ff00"}]}]}]},{"type":"superscript","id":"math/238","operands":[{"type":"symbol","id":"math/218","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:26:49.127000","label":"c","bounding-box":{"x":129.90196,"y":53.136795,"width":8.344696,"height":9.5318146},"id":"0000100001000700ff00"}]},{"type":"number","id":"math/237","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:26:49.852000","label":"2","bounding-box":{"x":139.67294,"y":47.431675,"width":5.6352844,"height":8.557682},"id":"0000110001000700ff00"}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"2"}'>$$ a^{2}+b^{2}=c^{2}$$</span>
149+
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/169","items":[{"type":"glyph","timestamp":"2018-11-2900:26:48.028000","label":"=","bounding-box":{"x":111.76708,"y":54.288994,"width":12.429764,"height":5.6213264},"id":"00000f0001000700ff00"}],"operands":[{"type":"+","id":"math/69","items":[{"type":"glyph","timestamp":"2018-11-2900:26:44.860000","label":"+","bounding-box":{"x":71.38607,"y":50.902233,"width":12.412308,"height":12.412304},"id":"00000c0001000700ff00"}],"operands":[{"type":"superscript","id":"math/48","operands":[{"type":"symbol","id":"math/23","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:26:42.681000","label":"a","bounding-box":{"x":48.947914,"y":53.136795,"width":9.6714706,"height":9.5318146},"id":"00000a0001000700ff00"}]},{"type":"number","id":"math/47","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:26:44.070000","label":"2","bounding-box":{"x":60.045666,"y":47.431675,"width":5.6352882,"height":8.557682},"id":"00000b0001000700ff00"}]}]},{"type":"superscript","id":"math/147","operands":[{"type":"symbol","id":"math/129","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:26:46.003000","label":"b","bounding-box":{"x":89.503502,"y":48.02174,"width":9.4968948,"height":14.64687},"id":"00000d0001000700ff00"}]},{"type":"number","id":"math/146","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:26:47.100000","label":"2","bounding-box":{"x":100.42667,"y":42.31662,"width":5.6352921,"height":8.557682},"id":"00000e0001000700ff00"}]}]}]},{"type":"superscript","id":"math/238","operands":[{"type":"symbol","id":"math/218","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:26:49.127000","label":"c","bounding-box":{"x":129.90196,"y":53.136795,"width":8.344696,"height":9.5318146},"id":"0000100001000700ff00"}]},{"type":"number","id":"math/237","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:26:49.852000","label":"2","bounding-box":{"x":139.67294,"y":47.431675,"width":5.6352844,"height":8.557682},"id":"0000110001000700ff00"}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"3"}'>$$ a^{2}+b^{2}=c^{2}$$</span>
150150
</div>
151151
<div class="textContent">
152152
If the length of both a and b are known, then c can be calculated as
153153

154154
<span class="mathContent"
155-
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/350","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387538","label":"=","bounding-box":{"x":81.985954,"y":50.917854,"width":15.418076,"height":6.9727821},"id":"00001a0001000700ff00"}],"operands":[{"type":"symbol","id":"math/349","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387578","label":"c","bounding-box":{"x":64.558334,"y":49.488651,"width":10.350899,"height":11.82341},"id":"00001b0001000700ff00"}]},{"type":"squareroot","id":"math/362","label":"√","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387616","label":"√","bounding-box":{"x":104.48075,"y":30.759586,"width":90.832359,"height":34.892056},"square-root-ratio":0.20056739,"id":"00001c0001000700ff00"}],"operands":[{"type":"+","id":"math/354","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387651","label":"+","bounding-box":{"x":150.5314,"y":46.716866,"width":15.396423,"height":15.396416},"id":"00001d0001000700ff00"}],"operands":[{"type":"superscript","id":"math/358","operands":[{"type":"symbol","id":"math/352","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387688","label":"a","bounding-box":{"x":122.69876,"y":49.488651,"width":11.996643,"height":11.82341},"id":"00001e0001000700ff00"}]},{"type":"number","id":"math/357","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387722","label":"2","bounding-box":{"x":136.46458,"y":42.411926,"width":6.990097,"height":10.615086},"id":"00001f0001000700ff00"}]}]},{"type":"superscript","id":"math/360","operands":[{"type":"symbol","id":"math/355","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387761","label":"b","bounding-box":{"x":173.00455,"y":43.143852,"width":11.780106,"height":18.168209},"id":"0000200001000700ff00"}]},{"type":"number","id":"math/359","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387793","label":"2","bounding-box":{"x":186.55383,"y":36.067127,"width":6.990097,"height":10.615086},"id":"0000210001000700ff00"}]}]}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"2"}'>$$ c={\sqrt {a^{2}+b^{2}}} $$</span>
155+
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/350","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387538","label":"=","bounding-box":{"x":81.985954,"y":50.917854,"width":15.418076,"height":6.9727821},"id":"00001a0001000700ff00"}],"operands":[{"type":"symbol","id":"math/349","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387578","label":"c","bounding-box":{"x":64.558334,"y":49.488651,"width":10.350899,"height":11.82341},"id":"00001b0001000700ff00"}]},{"type":"squareroot","id":"math/362","label":"√","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387616","label":"√","bounding-box":{"x":104.48075,"y":30.759586,"width":90.832359,"height":34.892056},"square-root-ratio":0.20056739,"id":"00001c0001000700ff00"}],"operands":[{"type":"+","id":"math/354","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387651","label":"+","bounding-box":{"x":150.5314,"y":46.716866,"width":15.396423,"height":15.396416},"id":"00001d0001000700ff00"}],"operands":[{"type":"superscript","id":"math/358","operands":[{"type":"symbol","id":"math/352","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387688","label":"a","bounding-box":{"x":122.69876,"y":49.488651,"width":11.996643,"height":11.82341},"id":"00001e0001000700ff00"}]},{"type":"number","id":"math/357","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387722","label":"2","bounding-box":{"x":136.46458,"y":42.411926,"width":6.990097,"height":10.615086},"id":"00001f0001000700ff00"}]}]},{"type":"superscript","id":"math/360","operands":[{"type":"symbol","id":"math/355","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387761","label":"b","bounding-box":{"x":173.00455,"y":43.143852,"width":11.780106,"height":18.168209},"id":"0000200001000700ff00"}]},{"type":"number","id":"math/359","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:29:37.387793","label":"2","bounding-box":{"x":186.55383,"y":36.067127,"width":6.990097,"height":10.615086},"id":"0000210001000700ff00"}]}]}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"3"}'>$$ c={\sqrt {a^{2}+b^{2}}} $$</span>
156156
</div>
157157
<div class="textContent">
158158
If the length of the hypotenuse c and of one side (a or b) are known,
159159
then the length of the other side can be calculated as
160160

161161
<span class="mathContent"
162-
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/145","items":[{"type":"glyph","timestamp":"2018-11-2900:34:28.936000","label":"=","bounding-box":{"x":73.958687,"y":48.66777,"width":19.789856,"height":8.9499054},"id":"00001a0001000700ff00"}],"operands":[{"type":"symbol","id":"math/128","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:34:27.975000","label":"a","bounding-box":{"x":49.477081,"y":46.833317,"width":15.398285,"height":15.17593},"id":"0000190001000700ff00"}]},{"type":"squareroot","id":"math/174","label":"√","items":[{"type":"glyph","timestamp":"2018-11-2900:34:30.483000","label":"√","bounding-box":{"x":102.83186,"y":22.79364,"width":102.99617,"height":43.757263},"square-root-ratio":0.22703476,"id":"00001b0001000700ff00"}],"operands":[{"type":"-","id":"math/269","items":[{"type":"glyph","timestamp":"2018-11-2900:34:34.311000","label":"-","bounding-box":{"x":159.82774,"y":53.00375,"width":8.2828369,"height":2.1124001},"id":"00001e0001000700ff00"}],"operands":[{"type":"superscript","id":"math/238","operands":[{"type":"symbol","id":"math/195","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:34:32.535000","label":"c","bounding-box":{"x":126.21558,"y":46.833317,"width":13.285889,"height":15.17593},"id":"00001c0001000700ff00"}]},{"type":"number","id":"math/237","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:34:33.415000","label":"2","bounding-box":{"x":141.77229,"y":37.749992,"width":8.9721375,"height":13.624985},"id":"00001d0001000700ff00"}]}]},{"type":"superscript","id":"math/351","operands":[{"type":"symbol","id":"math/312","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:34:34.861000","label":"b","bounding-box":{"x":177.19391,"y":38.689457,"width":15.120346,"height":23.31979},"id":"00001f0001000700ff00"}]},{"type":"number","id":"math/350","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:34:35.881000","label":"2","bounding-box":{"x":194.58508,"y":29.606133,"width":8.9721375,"height":13.624985},"id":"0000200001000700ff00"}]}]}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"2"}'>$$ a={\sqrt {c^{2}-b^{2}}} $$</span>
162+
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/145","items":[{"type":"glyph","timestamp":"2018-11-2900:34:28.936000","label":"=","bounding-box":{"x":73.958687,"y":48.66777,"width":19.789856,"height":8.9499054},"id":"00001a0001000700ff00"}],"operands":[{"type":"symbol","id":"math/128","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:34:27.975000","label":"a","bounding-box":{"x":49.477081,"y":46.833317,"width":15.398285,"height":15.17593},"id":"0000190001000700ff00"}]},{"type":"squareroot","id":"math/174","label":"√","items":[{"type":"glyph","timestamp":"2018-11-2900:34:30.483000","label":"√","bounding-box":{"x":102.83186,"y":22.79364,"width":102.99617,"height":43.757263},"square-root-ratio":0.22703476,"id":"00001b0001000700ff00"}],"operands":[{"type":"-","id":"math/269","items":[{"type":"glyph","timestamp":"2018-11-2900:34:34.311000","label":"-","bounding-box":{"x":159.82774,"y":53.00375,"width":8.2828369,"height":2.1124001},"id":"00001e0001000700ff00"}],"operands":[{"type":"superscript","id":"math/238","operands":[{"type":"symbol","id":"math/195","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:34:32.535000","label":"c","bounding-box":{"x":126.21558,"y":46.833317,"width":13.285889,"height":15.17593},"id":"00001c0001000700ff00"}]},{"type":"number","id":"math/237","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:34:33.415000","label":"2","bounding-box":{"x":141.77229,"y":37.749992,"width":8.9721375,"height":13.624985},"id":"00001d0001000700ff00"}]}]},{"type":"superscript","id":"math/351","operands":[{"type":"symbol","id":"math/312","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:34:34.861000","label":"b","bounding-box":{"x":177.19391,"y":38.689457,"width":15.120346,"height":23.31979},"id":"00001f0001000700ff00"}]},{"type":"number","id":"math/350","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:34:35.881000","label":"2","bounding-box":{"x":194.58508,"y":29.606133,"width":8.9721375,"height":13.624985},"id":"0000200001000700ff00"}]}]}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"3"}'>$$ a={\sqrt {c^{2}-b^{2}}} $$</span>
163163
or
164164
<span class="mathContent"
165-
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/41","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941328","label":"=","bounding-box":{"x":74.863388,"y":47.348846,"width":19.026161,"height":8.6045265},"id":"00000b0001000700ff00"}],"operands":[{"type":"symbol","id":"math/100","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:36:14.867000","label":"b","bounding-box":{"x":51.59375,"y":37.7556,"width":14.536842,"height":22.419872},"id":"00000a0001000700ff00"}]},{"type":"squareroot","id":"math/53","label":"√","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941406","label":"√","bounding-box":{"x":102.62234,"y":30.302799,"width":99.288727,"height":34.239071},"square-root-ratio":0.22642379,"id":"00000c0001000700ff00"}],"operands":[{"type":"-","id":"math/45","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941440","label":"-","bounding-box":{"x":157.41875,"y":51.517502,"width":7.9631958,"height":2.03088},"id":"00000f0001000700ff00"}],"operands":[{"type":"superscript","id":"math/49","operands":[{"type":"symbol","id":"math/43","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941477","label":"c","bounding-box":{"x":125.10368,"y":45.585186,"width":12.773186,"height":14.590282},"id":"00000d0001000700ff00"}]},{"type":"number","id":"math/48","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941511","label":"2","bounding-box":{"x":140.06006,"y":36.852394,"width":8.6259003,"height":13.09919},"id":"00000e0001000700ff00"}]}]},{"type":"superscript","id":"math/144","operands":[{"type":"symbol","id":"math/143","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:36:18.580000","label":"a","bounding-box":{"x":174.11473,"y":45.585186,"width":14.804062,"height":14.590282},"id":"0000100001000700ff00"}]},{"type":"number","id":"math/51","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941584","label":"2","bounding-box":{"x":191.10199,"y":36.852394,"width":8.6259003,"height":13.09919},"id":"0000110001000700ff00"}]}]}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"2"}'>$$ b={\sqrt {c^{2}-a^{2}}} $$</span>
165+
data-jiix='{"type":"Math","expressions":[{"type":"=","id":"math/41","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941328","label":"=","bounding-box":{"x":74.863388,"y":47.348846,"width":19.026161,"height":8.6045265},"id":"00000b0001000700ff00"}],"operands":[{"type":"symbol","id":"math/100","label":"b","items":[{"type":"glyph","timestamp":"2018-11-2900:36:14.867000","label":"b","bounding-box":{"x":51.59375,"y":37.7556,"width":14.536842,"height":22.419872},"id":"00000a0001000700ff00"}]},{"type":"squareroot","id":"math/53","label":"√","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941406","label":"√","bounding-box":{"x":102.62234,"y":30.302799,"width":99.288727,"height":34.239071},"square-root-ratio":0.22642379,"id":"00000c0001000700ff00"}],"operands":[{"type":"-","id":"math/45","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941440","label":"-","bounding-box":{"x":157.41875,"y":51.517502,"width":7.9631958,"height":2.03088},"id":"00000f0001000700ff00"}],"operands":[{"type":"superscript","id":"math/49","operands":[{"type":"symbol","id":"math/43","label":"c","items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941477","label":"c","bounding-box":{"x":125.10368,"y":45.585186,"width":12.773186,"height":14.590282},"id":"00000d0001000700ff00"}]},{"type":"number","id":"math/48","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941511","label":"2","bounding-box":{"x":140.06006,"y":36.852394,"width":8.6259003,"height":13.09919},"id":"00000e0001000700ff00"}]}]},{"type":"superscript","id":"math/144","operands":[{"type":"symbol","id":"math/143","label":"a","items":[{"type":"glyph","timestamp":"2018-11-2900:36:18.580000","label":"a","bounding-box":{"x":174.11473,"y":45.585186,"width":14.804062,"height":14.590282},"id":"0000100001000700ff00"}]},{"type":"number","id":"math/51","label":"2","value":2,"items":[{"type":"glyph","timestamp":"2018-11-2900:36:06.941584","label":"2","bounding-box":{"x":191.10199,"y":36.852394,"width":8.6259003,"height":13.09919},"id":"0000110001000700ff00"}]}]}]}]}]}],"available-notations":["decimal"],"id":"MainBlock","version":"3"}'>$$ b={\sqrt {c^{2}-a^{2}}} $$</span>
166166
</div>
167167
</main>
168168
<div id="editorContainer">

0 commit comments

Comments
 (0)