Skip to content

Commit f33e6c0

Browse files
author
tohosaku
committed
Remove semi colon, Fix replacement mistake
1 parent eb87cc5 commit f33e6c0

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

src/editors/choices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class ChoicesEditor extends SelectEditor {
3838
onWatchedFieldChange () {
3939
super.onWatchedFieldChange()
4040
if (this.choices_instance) {
41-
; const choicesList = this.enum_options.map((v, i) => ({
41+
const choicesList = this.enum_options.map((v, i) => ({
4242
value: v,
4343
label: this.enum_display[i]
4444
}))

src/editors/jodit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class JoditEditor extends StringEditor {
1515
}
1616

1717
afterInputReady () {
18-
; let options
18+
let options
1919

2020
if (window.Jodit) {
2121
/* Get options, either global options from "this.defaults.options.jodit" or */

src/editors/multiple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,6 @@ export class MultipleEditor extends AbstractEditor {
330330
}
331331

332332
addLinks () {
333-
// multiple editor itthis don't create links
333+
// multiple editor itself don't create links
334334
}
335335
}

src/editors/multiselect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class MultiSelectEditor extends AbstractEditor {
4949
}
5050

5151
build () {
52-
; let i
52+
let i
5353
if (!this.options.compact) this.header = this.label = this.theme.getFormInputLabel(this.getTitle(), this.isRequired())
5454
if (this.schema.description) this.description = this.theme.getFormInputDescription(this.schema.description)
5555
if (this.options.infoText) this.infoButton = this.theme.getInfoButton(this.options.infoText)

src/editors/object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class ObjectEditor extends AbstractEditor {
6363
}
6464

6565
layoutEditors () {
66-
; let i; let j
66+
let i; let j
6767

6868
if (!this.row_container) return
6969

src/editors/select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class Select2Editor extends SelectEditor {
2222
if (window.jQuery && window.jQuery.fn && window.jQuery.fn.select2 && !this.select2_instance) {
2323
/* Get options, either global options from "this.defaults.options.select2" or */
2424
/* single property options from schema "options.select2" */
25-
; const options = this.expandCallbacks('select2', extend({}, this.defaults.options.select2 || {}, this.options.select2 || {}))
25+
const options = this.expandCallbacks('select2', extend({}, this.defaults.options.select2 || {}, this.options.select2 || {}))
2626

2727
/* New items are allowed if option "tags" is true and type is "string" */
2828
this.newEnumAllowed = options.tags = !!options.tags && this.schema.type === 'string'

src/editors/selectize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class SelectizeEditor extends SelectEditor {
2222
if (window.jQuery && window.jQuery.fn && window.jQuery.fn.selectize && !this.selectize_instance) {
2323
/* Get options, either global options from "this.defaults.options.selectize" or */
2424
/* single property options from schema "options.selectize" */
25-
; const options = this.expandCallbacks('selectize', extend({}, this.defaults.options.selectize || {}, this.options.selectize || {}))
25+
const options = this.expandCallbacks('selectize', extend({}, this.defaults.options.selectize || {}, this.options.selectize || {}))
2626

2727
/* New items are allowed if option "create" is true and type is "string" */
2828
this.newEnumAllowed = options.create = !!options.create && this.schema.type === 'string'

src/editors/signature.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This editor is using the signature pad editor from https://github.com/szimek/signature_pad */
2-
/* Credits for the pad itthis go to https://github.com/szimek */
2+
/* Credits for the pad itself go to https://github.com/szimek */
33

44
import { StringEditor } from './string.js'
55

src/editors/simplemde.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class SimplemdeEditor extends StringEditor {
1515
}
1616

1717
afterInputReady () {
18-
; let options
18+
let options
1919

2020
if (window.SimpleMDE) {
2121
/* Get options, either global options from "this.defaults.options.simplemde" or */

0 commit comments

Comments
 (0)