Merge pull request from sveltejs/gh-3495

alternative fix for 
pull/3527/head
Rich Harris 5 years ago committed by GitHub
commit 3031e38b10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,7 +67,7 @@ export default class BindingWrapper {
this.is_readonly = this.node.is_readonly;
this.needs_lock = this.node.name === 'currentTime'; // TODO others?
this.needs_lock = this.node.name === 'currentTime' || (parent.node.name === 'input' && parent.node.get_static_attribute_value('type') === 'number'); // TODO others?
}
get_dependencies() {

Loading…
Cancel
Save