Skip to content

Commit

Permalink
fix: remove eslit disables
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega authored and alschmiedt committed Sep 20, 2021
1 parent e954193 commit 7451644
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,11 @@ Field.prototype.loadState = function(state) {
this.setValue(state);
};

// eslint-disable-next-line valid-jsdoc
/**
* Returns a stringified version of the XML state, if it should be used.
* Otherwise this returns null, to signal the field should use its own
* serialization.
* @param {?} callingClass The class calling this method.
* @param {*} callingClass The class calling this method.
* Used to see if `this` has overridden any relevant hooks.
* @return {?string} The stringified version of the XML state, or null.
* @protected
Expand All @@ -488,11 +487,10 @@ Field.prototype.saveLegacyState = function(callingClass) {
return null;
};

// eslint-disable-next-line valid-jsdoc
/**
* Loads the given state using either the old XML hoooks, if they should be
* used. Returns true to indicate loading has been handled, false otherwise.
* @param {?} callingClass The class calling this method.
* @param {*} callingClass The class calling this method.
* Used to see if `this` has overridden any relevant hooks.
* @param {*} state The state to apply to the field.
* @return {boolean} Whether the state was applied or not.
Expand Down

0 comments on commit 7451644

Please sign in to comment.