src/model/pos.js
// Compares two paths and returns true when they are the same.
Compares two paths and returns true when they are the same.
Compares two paths and returns true when they are the same .
static samePath(pathA, pathB) {
    if (pathA.length != pathB.length) return false
    for (let i = 0; i < pathA.length; i++) if (pathA[i] !== pathB[i]) return false
    return true
  }
static samePath ( pathA , pathB ) { if ( pathA . length != pathB . length ) return false for ( let i = 0 ; i < pathA . length ; i ++ ) if ( pathA [ i ] !== pathB [ i ] ) return false return true }
Compares two paths and returns true when they are the same.
Compares two paths and returns true when they are the same .