LearnNewsExamplesServices
Frontmatter
id311
titlecore.Base: processConfigs()
stateClosed
labels
enhancement
assigneestobiu
createdAtMar 18, 2020, 10:37 AM
updatedAtMar 18, 2020, 10:39 AM
githubUrlhttps://github.com/neomjs/neo/issues/311
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 18, 2020, 10:39 AM

core.Base: processConfigs()

tobiu
tobiu commented on Mar 18, 2020, 10:37 AM

configs which do not have a trailing underscore can get assigned to the instance in afterSet methods of "real" configs.

to avoid overriding the new value, we need a hasOwnProperty() check.

example: field.Picker => pickerWidth

tobiu added the enhancement label on Mar 18, 2020, 10:37 AM
tobiu assigned to @tobiu on Mar 18, 2020, 10:37 AM
tobiu referenced in commit 87cbdbb - "core.Base: processConfigs() #311" on Mar 18, 2020, 10:38 AM
tobiu
tobiu Mar 18, 2020, 10:39 AM

done.

tobiu closed this issue on Mar 18, 2020, 10:39 AM