Commit 3042da4
Remove unused code (emberjs#1061)
* Remove unused options
The inspector used to support filtering out components in the view
tab, and there are a lot of supporting code for that. Since the
view tab was removed, there is no longer any way to set this option,
and it is always true in practice.
* Remove unused `completeViewClass` property
This property contains the "full" class name string, something like
`<app@component:textarea::ember545>` as opposed to `textarea`. It is
only set but never read by anything.
* Remove unused `shouldShowView` method
This method is defined but never used. It is also the only thing
that reads the `isVirtual` property, which is an Ember 1.0-ism that
is no longer needed.
* Remove a lot (!) of unused code!
Most of the job of view-debug has already been moved to glimmer-tree,
leaving behind a lot of code that was never called.1 parent 0f873ae commit 3042da4
6 files changed
Lines changed: 4 additions & 407 deletions
File tree
- app
- controllers
- routes
- ember_debug
- libs
- tests
- acceptance
- ember_debug
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 161 | | |
166 | 162 | | |
167 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
63 | | - | |
64 | 61 | | |
65 | 62 | | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 67 | | |
79 | 68 | | |
80 | 69 | | |
| |||
84 | 73 | | |
85 | 74 | | |
86 | 75 | | |
87 | | - | |
88 | | - | |
| 76 | + | |
89 | 77 | | |
90 | 78 | | |
91 | 79 | | |
| |||
114 | 102 | | |
115 | 103 | | |
116 | 104 | | |
117 | | - | |
| 105 | + | |
118 | 106 | | |
119 | 107 | | |
120 | 108 | | |
| |||
421 | 409 | | |
422 | 410 | | |
423 | 411 | | |
424 | | - | |
425 | 412 | | |
426 | 413 | | |
427 | 414 | | |
| |||
435 | 422 | | |
436 | 423 | | |
437 | 424 | | |
438 | | - | |
439 | 425 | | |
440 | 426 | | |
441 | 427 | | |
| |||
732 | 718 | | |
733 | 719 | | |
734 | 720 | | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | 721 | | |
0 commit comments