File tree 4 files changed +21
-9
lines changed
4 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ export default class GoToggle {
49
49
newPath ;
50
50
51
51
if ( fromType === 0 ) {
52
- if ( toType === 1 ) {
53
- //Controller to Route
54
- newPath = origPath . replace ( / c o n t r o l l e r s / g, "routes" ) ;
55
- }
52
+ // if(toType === 1){
53
+ // //Controller to Route
54
+ // newPath = origPath.replace(/controllers/g, "routes");
55
+ // }
56
56
if ( toType === 2 ) {
57
57
//Controller to Template
58
58
newPath = origPath . replace ( / c o n t r o l l e r s / g, "templates" ) . replace ( / .j s / g, ".hbs" ) ;
@@ -68,9 +68,10 @@ export default class GoToggle {
68
68
if ( fromType === 2 ) {
69
69
if ( toType === 0 ) {
70
70
newPath = origPath . replace ( / t e m p l a t e s / g, "controllers" ) . replace ( / .h b s / g, ".js" ) ;
71
- } else if ( toType === 1 ) {
72
- newPath = origPath . replace ( / t e m p l a t e s / g, "routes" ) ;
73
71
}
72
+ // else if(toType === 1){
73
+ // newPath = origPath.replace(/templates/g, "routes");
74
+ // }
74
75
}
75
76
if ( fromType === 3 ) {
76
77
if ( toType === 4 ) {
Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ export default class TabWatcher {
115
115
}
116
116
117
117
getEmberPodName ( item ) {
118
-
119
118
if ( typeof item . getPath !== "function" ) {
120
119
return false ;
121
120
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ember-tabs" ,
3
3
"main" : " ./lib/ember-tabs" ,
4
- "version" : " 2.4.1 " ,
4
+ "version" : " 2.4.3 " ,
5
5
"description" : " Makes Atom work better with Ember pods." ,
6
6
"keywords" : [
7
7
" ember" ,
Original file line number Diff line number Diff line change 12
12
overflow : hidden ;
13
13
white-space : pre ;
14
14
text-overflow : ellipsis ;
15
+ line-height : 12px ;
16
+ position : absolute ;
17
+ top :3px ;
18
+ left :0 ;
15
19
}
16
20
21
+
17
22
// Dave's stylesheet for default dark theme/Molokai
18
23
.tab-bar .tab {
19
24
max-width : 220px ;
@@ -38,10 +43,17 @@ atom-workspace-axis.vertical .tab-bar .tab {
38
43
height : 40px !important ;
39
44
}
40
45
46
+
41
47
.pod-file-type {
42
48
color : #ccc ;
43
49
}
44
-
50
+ atom- dock .list-inline.tab-bar .tab [data- type= " TreeView" ].active ::after
51
+ {
52
+ background-color : black ;
53
+ }
54
+ atom- workspace- axis.vertical .tab-bar .tab.active ::after {
55
+ background : none ;
56
+ }
45
57
.tab.active .pod-file-type {
46
58
color : #66D9EF ;
47
59
}
You can’t perform that action at this time.
0 commit comments