diff --git a/view/assets/js/tmpJSONParser.js b/view/assets/js/tmpJSONParser.js index 70312c3..cdf8c93 100644 --- a/view/assets/js/tmpJSONParser.js +++ b/view/assets/js/tmpJSONParser.js @@ -99,25 +99,6 @@ } } - function _circularMovementParser(tmpJSON, movementName, hand) { - var parsedHand = _parseHand(hand); - _defaultMovementParser(tmpJSON, movementName, hand); - var movPlane = movement_parameter_json[parsedHand][movementName]['plano']; - if (movPlane.indexOf('direita') != -1 || movPlane.indexOf('tras') != -1) { - movPlane = movPlane.replace('direita', 'esquerda'); - movPlane = movPlane.replace('tras', 'frente'); - movement_parameter_json[parsedHand][movementName]['plano'] = movPlane; - movement_parameter_json[parsedHand][movementName]['lado_oposto'] = true; - } else { - movement_parameter_json[parsedHand][movementName]['lado_oposto'] = false; - } - - if (movPlane == 'frente-cima' || movPlane == 'tras-cima') { - movement_parameter_json[parsedHand][movementName]['sentido_inverso'] = - !movement_parameter_json[parsedHand][movementName]['sentido_inverso']; - } - } - function _parseTempMovementParameterJSON(tmpJSON, hand) { var movimentConfig = tmpJSON[hand]['movimento']; if (typeof movimentConfig == 'undefined') return; @@ -128,9 +109,6 @@ if (movementName == 'retilineo') { _retilinearMovementParser(tmpJSON, movementName, hand); - } else if (movementName == 'circular' || - movementName == 'semicircular') { - _circularMovementParser(tmpJSON, movementName, hand); } else { _defaultMovementParser(tmpJSON, movementName, hand); } diff --git a/view/hand/movimento/passo-1.html b/view/hand/movimento/passo-1.html index ecad309..0398585 100644 --- a/view/hand/movimento/passo-1.html +++ b/view/hand/movimento/passo-1.html @@ -20,7 +20,7 @@ class="box-panel-option selection-panel-option" autoplay loop> Circular -