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

Commit da62a5d

Browse files
committed
Merge pull request #12 in WS/myscriptjs from wip-badges-readme to master
* commit '8632de91fea74ccec0b1b8a394908b1d3dd48cde': [DOCS] Update README with badges [DEV] Update examples index page
2 parents 2a06e18 + 8632de9 commit da62a5d

File tree

2 files changed

+53
-64
lines changed

2 files changed

+53
-64
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# MyScriptJS
2+
3+
[![npm version](https://badge.fury.io/js/myscript.svg)](https://badge.fury.io/js/myscript)
4+
[![Examples](https://img.shields.io/badge/Link%20to-examples-blue.svg)](https://myscript.github.io/MyScriptJS/examples/)
5+
[![Documentation](https://img.shields.io/badge/Link%20to-documentation-green.svg)](https://developer.myscript.com/docs/interactive-ink/latest/web/myscriptjs/)
6+
27
> The fastest way to integrate rich **handwriting** features in your webapp.
38
49
<div align="center">

examples/index.html

Lines changed: 48 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@
5252
<h1>MyScriptJS examples</h1>
5353
<h2>Table of contents</h2>
5454
<ul>
55-
<li><a href="#v4-ws">V4 - iink SDK Web with WebSockets</a></li>
56-
<li><a href="#v4-rest">V4 - iink SDK Web with REST</a></li>
57-
<li><a href="#non-specific">Non version specific</a></li>
55+
<li><a href="#v4-ws">iink SDK Web with WebSockets</a></li>
56+
<li><a href="#v4-rest">iink SDK Web with REST</a></li>
5857
<li><a href="#experimental">Experimental</a></li>
5958
<li><a href="#development">Development</a></li>
6059
</ul>
61-
<h2><a class="title" name="v4-ws">V4 - iink SDK web (WebSockets)</a></h2>
60+
<h2><a class="title" name="v4-ws">iink SDK web with WebSockets</a></h2>
6261
<div class="grid-wrapper">
6362
<div class="grid-column-one">
6463
<p><strong>TEXT with iink SDK web (with Smart Guide)</strong></p>
@@ -141,6 +140,35 @@ <h2><a class="title" name="v4-ws">V4 - iink SDK web (WebSockets)</a></h2>
141140
</svg>
142141
Get source code</a>
143142
</div>
143+
<p><strong>Handle errors</strong></p>
144+
<div class="center">
145+
<a href="non-version-specific/handle_errors.html" class="btn">
146+
<svg class="icn">
147+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
148+
</svg>
149+
View example</a>
150+
<a href="https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/handle_errors.html"
151+
class="btn">
152+
<svg class="icn">
153+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
154+
</svg>
155+
Get source code</a>
156+
</div>
157+
<p><strong>Configure on-demand export</strong></p>
158+
<div class="center">
159+
<a href="non-version-specific/on_demand_exports.html" class="btn">
160+
<svg class="icn">
161+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
162+
</svg>
163+
View example</a>
164+
<a
165+
href="https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/on_demand_exports.html"
166+
class="btn">
167+
<svg class="icn">
168+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
169+
</svg>
170+
Get source code</a>
171+
</div>
144172
</div>
145173
<div class="grid-column-two">
146174
<p><strong>TEXT with iink SDK web (without Smart Guide)</strong></p>
@@ -230,9 +258,24 @@ <h2><a class="title" name="v4-ws">V4 - iink SDK web (WebSockets)</a></h2>
230258
</svg>
231259
Get source code</a>
232260
</div>
261+
<p><strong>Change the language</strong></p>
262+
<div class="center">
263+
<a href="non-version-specific/change_language.html" class="btn">
264+
<svg class="icn">
265+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
266+
</svg>
267+
View example</a>
268+
<a
269+
href="https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/change_language.html"
270+
class="btn">
271+
<svg class="icn">
272+
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
273+
</svg>
274+
Get source code</a>
275+
</div>
233276
</div>
234277
</div>
235-
<h2><a class="title" name="v4-rest">V4 - iink SDK web (REST)</a></h2>
278+
<h2><a class="title" name="v4-rest">iink SDK web with REST</a></h2>
236279
<div class="grid-wrapper">
237280
<div class="grid-column-one">
238281
<p><strong>TEXT with iink SDK web</strong></p>
@@ -295,65 +338,6 @@ <h2><a class="title" name="v4-rest">V4 - iink SDK web (REST)</a></h2>
295338
</div>
296339
</div>
297340
</div>
298-
<h2><a class="title" name="non-specific">Non version specific features</a></h2>
299-
<div class="notice notice-info">
300-
<svg class="icn icn-info">
301-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-info"></use>
302-
</svg>
303-
<div class="notice-txt">
304-
Demonstration of features not depending of API version configured.
305-
</div>
306-
</div>
307-
<div class="grid-wrapper">
308-
<div class="grid-column-one">
309-
<p><strong>Handle errors</strong></p>
310-
<div class="center">
311-
<a href="non-version-specific/handle_errors.html" class="btn">
312-
<svg class="icn">
313-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
314-
</svg>
315-
View example</a>
316-
<a href="https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/handle_errors.html"
317-
class="btn">
318-
<svg class="icn">
319-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
320-
</svg>
321-
Get source code</a>
322-
</div>
323-
<p><strong>Configure on-demand export</strong></p>
324-
<div class="center">
325-
<a href="non-version-specific/on_demand_exports.html" class="btn">
326-
<svg class="icn">
327-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
328-
</svg>
329-
View example</a>
330-
<a
331-
href="https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/on_demand_exports.html"
332-
class="btn">
333-
<svg class="icn">
334-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
335-
</svg>
336-
Get source code</a>
337-
</div>
338-
</div>
339-
<div class="grid-column-two">
340-
<p><strong>Change the language</strong></p>
341-
<div class="center">
342-
<a href="non-version-specific/change_language.html" class="btn">
343-
<svg class="icn">
344-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-play"></use>
345-
</svg>
346-
View example</a>
347-
<a
348-
href="https://github.com/MyScript/MyScriptJS/blob/master/examples/non-version-specific/change_language.html"
349-
class="btn">
350-
<svg class="icn">
351-
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icn-github"></use>
352-
</svg>
353-
Get source code</a>
354-
</div>
355-
</div>
356-
</div>
357341
<h2><a class="title" name="development">Development</a></h2>
358342
<div class="grid-wrapper">
359343
<div class="grid-column-one">

0 commit comments

Comments
 (0)