Removing unneeded arg in syncInstanceInputs

This commit is contained in:
Francisco Hodge 2019-10-08 18:10:34 -04:00
parent f71917377f
commit 46c809cbf9

View File

@ -230,7 +230,7 @@ class SimpleKeyboard {
/** /**
* Enforce syncInstanceInputs, if set * Enforce syncInstanceInputs, if set
*/ */
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input); if (this.options.syncInstanceInputs) this.syncInstanceInputs();
/** /**
* Calling onChange * Calling onChange
@ -363,7 +363,7 @@ class SimpleKeyboard {
/** /**
* Enforce syncInstanceInputs, if set * Enforce syncInstanceInputs, if set
*/ */
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input); if (this.options.syncInstanceInputs) this.syncInstanceInputs();
} }
/** /**
@ -376,7 +376,7 @@ class SimpleKeyboard {
/** /**
* Enforce syncInstanceInputs, if set * Enforce syncInstanceInputs, if set
*/ */
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input); if (this.options.syncInstanceInputs) this.syncInstanceInputs();
return this.input[inputName]; return this.input[inputName];
} }
@ -393,7 +393,7 @@ class SimpleKeyboard {
/** /**
* Enforce syncInstanceInputs, if set * Enforce syncInstanceInputs, if set
*/ */
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input); if (this.options.syncInstanceInputs) this.syncInstanceInputs();
} }
/** /**