mirror of
				https://github.com/ZetaKebab/japanese-conjugation-drill.git
				synced 2025-11-04 07:29:49 +00:00 
			
		
		
		
	Removed original conjugation test function.
This commit is contained in:
		@@ -152,52 +152,5 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
<!--
 | 
					 | 
				
			||||||
    <h2>Conjugator</h2>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <div class="entry"><input id="input" onkeypress="showForms(event)"/></div>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <h3>Verb</h3>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <table>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Word</th>
 | 
					 | 
				
			||||||
        <td id="word">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Masu form</th>
 | 
					 | 
				
			||||||
        <td id="masu">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Te form</th>
 | 
					 | 
				
			||||||
        <td id="te">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Present negative</th>
 | 
					 | 
				
			||||||
        <td id="present_negative">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Past negative informal</th>
 | 
					 | 
				
			||||||
        <td id="past_negative_informal">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Past informal</th>
 | 
					 | 
				
			||||||
        <td id="past_informal">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
    </table>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <h3>Adjective</h3>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <table>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Present negative form</th>
 | 
					 | 
				
			||||||
        <td id="present_negative_adj">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
      <tr>
 | 
					 | 
				
			||||||
        <th>Past affirmative form</th>
 | 
					 | 
				
			||||||
        <td id="past_affirmative_adj">
 | 
					 | 
				
			||||||
      </tr>
 | 
					 | 
				
			||||||
    </table>
 | 
					 | 
				
			||||||
    -->
 | 
					 | 
				
			||||||
  </body>
 | 
					  </body>
 | 
				
			||||||
</html>
 | 
					</html>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -397,27 +397,6 @@ function getAdjectiveForms(dictionary_form) {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function showForms(event) {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  if (event.keyCode == 13) {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    var input = $("input").val();
 | 
					 | 
				
			||||||
    var result = new getVerbForms(input);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    $("#word").html(input);
 | 
					 | 
				
			||||||
    $("#masu").html(result["formal"]);
 | 
					 | 
				
			||||||
    $("#te").html(result["te-form"]);
 | 
					 | 
				
			||||||
    $("#present_negative").html(result["negative"]);
 | 
					 | 
				
			||||||
    $("#past_informal").html(result["past"]);
 | 
					 | 
				
			||||||
    $("#past_negative_informal").html(result["past negative"]);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    var result = new getAdjectiveForms(input);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    $("#present_negative_adj").html(result["present negative adj"]);
 | 
					 | 
				
			||||||
    $("#past_affirmative_adj").html(result["past affirmative adj"]);
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
var verb_relative_form = {
 | 
					var verb_relative_form = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  "dictionary" : {
 | 
					  "dictionary" : {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user