Quellcode durchsuchen

improve the parsePositions for string coords

tags/2.3.0
Caven Chen vor 4 Jahren
Ursprung
Commit
8b804bd9e8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      modules/parse/Parse.js

+ 1
- 1
modules/parse/Parse.js Datei anzeigen

@@ -42,7 +42,7 @@ class Parse {
if (positions.indexOf('#') >= 0) {
throw new Error('the positions invalid')
}
positions = positions.split(';')
positions = positions.split(';').filter(item => !!item)
}
return positions.map(item => {
if (typeof item === 'string') {

Laden…
Abbrechen
Speichern