- Breaking change: In interests of modularity/removing globals, remove window.svgCanvas
and `svgCanvas.ready` as used by older extensions; use `svgEditor.canvas` and
`svgEditor.ready` instead
- npm: Add `prepare` script to ensure building/testing before publish
This commit is contained in:
@@ -5125,12 +5125,6 @@ editor.init = function () {
|
||||
// revnums += svgCanvas.getVersion();
|
||||
// $('#copyright')[0].setAttribute('title', revnums);
|
||||
|
||||
// For Compatibility with older extensions
|
||||
// $(function () {
|
||||
window.svgCanvas = svgCanvas;
|
||||
svgCanvas.ready = editor.ready;
|
||||
// });
|
||||
|
||||
const setLang = editor.setLang = function (lang, allStrings) {
|
||||
editor.langChanged = true;
|
||||
$.pref('lang', lang);
|
||||
|
||||
Reference in New Issue
Block a user