Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

Commit

Permalink
Update glimmer-ref.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Jan 30, 2020
1 parent 661e220 commit ba536d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/dummy/app/components/glimmer-ref.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';

export default class GlimmerRefComponent extends Component {
@tracked
node = null;
get size(){
return this.node && this.node.clientWidth;
}
}
@tracked
node = null;
get size() {
return this.node && this.node.clientWidth;
}
}

0 comments on commit ba536d7

Please sign in to comment.