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

Commit 17b5512

Browse files
chore: bump to 2.0.0 + changelog
1 parent 5dc7b74 commit 17b5512

File tree

46 files changed

+16845
-5031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+16845
-5031
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# [v2.0.0]
2+
3+
## Bug fix
4+
- bad link on the Get source code for Change configuration
5+
- enhance iink eraser websocket sample
6+
- math example: empty mathML is displayed in result instead of nothing
7+
- customize example, colour picker disappears after undo-redo
8+
- gesture.enable = false broken
9+
- can change configuration if first host is wrong
10+
111
# [v1.5.4](https://github.com/MyScript/iinkJS/tree/v1.5.4)
212

313
## Features

docs/Editor.html

Lines changed: 56 additions & 56 deletions
Large diffs are not rendered by default.

docs/Editor.js.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,15 @@ <h1 class="page-title">Editor.js</h1>
272272
* @return {Promise&lt;*>}
273273
*/
274274
async function launchClose (editor, model) {
275+
if (editor.smartGuide) {
276+
SmartGuide.reset(editor.smartGuide)
277+
}
275278
if (editor.recognizer &amp;&amp; editor.recognizer.close) {
276279
const init = await editor.recognizerContext.initPromise
277280
if (init) {
281+
editor.loader.style.display = 'none'
282+
editor.error.innerText = Constants.Error.CLOSE
283+
editor.error.style.display = 'initial'
278284
return editor.recognizer.close(editor.recognizerContext, model)
279285
}
280286
}
@@ -573,7 +579,6 @@ <h1 class="page-title">Editor.js</h1>
573579
this.undoRedoContext = this.recognizerContext
574580
this.undoRedoManager = this.innerRecognizer
575581
}
576-
577582
this.innerRecognizer.init(this.recognizerContext, model)
578583
.then((values) => {
579584
logger.info('Recognizer initialized !')
@@ -584,7 +589,9 @@ <h1 class="page-title">Editor.js</h1>
584589
}
585590
this.loader.style.display = 'none'
586591
})
587-
.catch(err => handleError(this, err))
592+
.catch(err => {
593+
handleError(this, err)
594+
})
588595
}
589596
}
590597

@@ -1051,7 +1058,7 @@ <h1 class="page-title">Editor.js</h1>
10511058
<br class="clear">
10521059

10531060
<footer>
1054-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
1061+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
10551062
</footer>
10561063

10571064
<script>prettyPrint();</script>

docs/EditorFacade.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h1 class="page-title">EditorFacade.js</h1>
9090
<br class="clear">
9191

9292
<footer>
93-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
93+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
9494
</footer>
9595

9696
<script>prettyPrint();</script>

docs/configuration_Constants.js.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ <h1 class="page-title">configuration/Constants.js</h1>
115115
WRONG_CREDENTIALS: 'Application credentials are invalid. Please check or regenerate your application key and hmackey.',
116116
TOO_OLD: 'Session is too old. Max Session Duration Reached.',
117117
NO_ACTIVITY: 'Session closed due to no activity.',
118-
CANT_ESTABLISH: 'Unable to establish a connection to the server. Check the host and your connectivity'
118+
CANT_ESTABLISH: 'Unable to establish a connection to the server. Check the host and your connectivity',
119+
CLOSE: 'Connection closed'
119120
},
120121
Exports: {
121122
JIIX: 'application/vnd.myscript.jiix'
@@ -134,7 +135,7 @@ <h1 class="page-title">configuration/Constants.js</h1>
134135
<br class="clear">
135136

136137
<footer>
137-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
138+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
138139
</footer>
139140

140141
<script>prettyPrint();</script>

docs/configuration_DefaultBehaviors.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ <h1 class="page-title">configuration/DefaultBehaviors.js</h1>
133133
<br class="clear">
134134

135135
<footer>
136-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
136+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
137137
</footer>
138138

139139
<script>prettyPrint();</script>

docs/configuration_DefaultConfiguration.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ <h1 class="page-title">configuration/DefaultConfiguration.js</h1>
226226
<br class="clear">
227227

228228
<footer>
229-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
229+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
230230
</footer>
231231

232232
<script>prettyPrint();</script>

docs/configuration_DefaultPenStyle.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h1 class="page-title">configuration/DefaultPenStyle.js</h1>
9191
<br class="clear">
9292

9393
<footer>
94-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
94+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
9595
</footer>
9696

9797
<script>prettyPrint();</script>

docs/configuration_DefaultTheme.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h1 class="page-title">configuration/DefaultTheme.js</h1>
125125
<br class="clear">
126126

127127
<footer>
128-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
128+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
129129
</footer>
130130

131131
<script>prettyPrint();</script>

docs/configuration_LoggerConfig.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h1 class="page-title">configuration/LoggerConfig.js</h1>
123123
<br class="clear">
124124

125125
<footer>
126-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Wed Jul 06 2022 17:05:30 GMT+0200 (Central European Summer Time) using the Minami theme.
126+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 01 2022 11:31:04 GMT+0200 (Central European Summer Time) using the Minami theme.
127127
</footer>
128128

129129
<script>prettyPrint();</script>

0 commit comments

Comments
 (0)