Skip to content

Commit

Permalink
Modernize component templates
Browse files Browse the repository at this point in the history
  • Loading branch information
dgavey committed Mar 31, 2021
1 parent 89c24a3 commit 0ac393a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 57 deletions.
41 changes: 0 additions & 41 deletions addon/components/object-bin.js

This file was deleted.

5 changes: 2 additions & 3 deletions app/templates/components/draggable-object-target.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{! this should be `@enableClicking` but this is not a valid path on Ember 2.16 }}
{{#if this.enableClicking}}
<a href="#" {{action "acceptForDrop"}}>
{{#if @enableClicking}}
<a href="#" {{fn this.acceptForDrop}}>
{{yield}}
</a>
{{else}}
Expand Down
5 changes: 2 additions & 3 deletions app/templates/components/draggable-object.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{! this should be `@enableClicking` but this is not a valid path on Ember 2.16 }}
{{#if this.enableClicking}}
<a href="#" {{action "selectForDrag"}}>
{{#if @enableClicking}}
<a href="#" {{fn this.selectForDrag}}>
{{yield}}
</a>
{{else}}
Expand Down
10 changes: 0 additions & 10 deletions app/templates/components/object-bin.hbs

This file was deleted.

0 comments on commit 0ac393a

Please sign in to comment.