Update src/compiler/compile/render_dom/wrappers/Window.ts

pull/5755/head
Ben McCann 5 years ago committed by GitHub
parent 0ca5fd2139
commit b2d21e190e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ export default class WindowWrapper extends Wrapper {
add_event_handlers(block, '@_window', this.handlers);
this.node.bindings.forEach(binding => {
// Todo: what if it's a MemberExpression?
// TODO: what if it's a MemberExpression?
const binding_name = (binding.expression.node as Identifier).name;
// in dev mode, throw if read-only values are written to

Loading…
Cancel
Save