mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +08:00
travis-ci fixed praram-reassign issue in proxy setter
This commit is contained in:
parent
1cd40d3b0b
commit
1dbf54295c
@ -24,7 +24,7 @@ export default class ExtensionManager {
|
|||||||
set(obj, prop, value) {
|
set(obj, prop, value) {
|
||||||
const changed = (obj[prop] !== value)
|
const changed = (obj[prop] !== value)
|
||||||
|
|
||||||
obj[prop] = value
|
Object.assign(obj, { [prop]: value })
|
||||||
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
extension.update(view)
|
extension.update(view)
|
||||||
|
Loading…
Reference in New Issue
Block a user