Skip to content

Commit

Permalink
Merge pull request #5 from SteinRein/master-cf-autofix
Browse files Browse the repository at this point in the history
Apply fixes from CodeFactor
  • Loading branch information
bfiessinger authored Jan 18, 2021
2 parents c83e7cf + bb80d4f commit 2010ef0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions core/wizerdForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ export default class WizerdForm {
* @return {void}
*/
private setInitialPages(): void {
const pages = ( NodeList.prototype.isPrototypeOf(this.options.pages) || HTMLCollection.prototype.isPrototypeOf(this.options.pages) ) ?
Array.prototype.slice.call(this.options.pages as unknown as NodeList | HTMLCollection) :
const pages = ( NodeList.prototype.isPrototypeOf(this.options.pages) || HTMLCollection.prototype.isPrototypeOf(this.options.pages) ) ?
Array.prototype.slice.call(this.options.pages as unknown as NodeList | HTMLCollection) :
Array.prototype.slice.call(this.form.querySelectorAll(this.options.pages));

pages.forEach((page, index) => {
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/wizerdForm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/wizerdForm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd/wizerdForm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2010ef0

Please sign in to comment.