Skip to content

Commit 6140fde

Browse files
committed
revert should_proxy change
1 parent 9799b89 commit 6140fde

File tree

1 file changed

+0
-9
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client

1 file changed

+0
-9
lines changed

packages/svelte/src/compiler/phases/3-transform/client/utils.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,6 @@ export function should_proxy(node, scope) {
258258
}
259259
}
260260

261-
if (node.type === 'ObjectExpression' && scope !== null) {
262-
for (let property of node.properties) {
263-
if (property.type === 'Property') {
264-
// if there are any getters/setters, return false
265-
if (property.kind !== 'init') return false;
266-
}
267-
}
268-
}
269-
270261
return true;
271262
}
272263

0 commit comments

Comments
 (0)