- Build: Update with namespaced parseFloat, etc. changes

- npm: Update devDeps. (remove axe-core now that bundled with cypress-axe)
This commit is contained in:
Brett Zamir
2020-03-31 00:25:54 +08:00
parent 7914f26e02
commit ea58adbab1
19 changed files with 619 additions and 465 deletions

View File

@@ -290,7 +290,7 @@ var svgEditorExtension_placemark = (function () {
updateFont = function _updateFont(font) {
font = font.split(' ');
var fontSize = parseInt(font.pop());
var fontSize = Number.parseInt(font.pop());
font = font.join(' ');
selElems.forEach(function (elem) {
if (elem && elem.getAttribute('class').includes('placemark')) {
@@ -504,7 +504,7 @@ var svgEditorExtension_placemark = (function () {
var id = svgCanvas.getNextId();
var items = $('#placemarkText').val().split(';');
var font = $('#placemarkFont').val().split(' ');
var fontSize = parseInt(font.pop());
var fontSize = Number.parseInt(font.pop());
font = font.join(' ');
var x0 = opts.start_x + 10,
y0 = opts.start_y + 10;