Skip to content

Commit 2c8c783

Browse files
committed
merging in upstream changes and tweaking styles
2 parents bc06fb0 + 4733340 commit 2c8c783

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

lib/go-toggle.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ export default class GoToggle {
4949
newPath;
5050

5151
if (fromType === 0){
52-
if(toType === 1){
53-
//Controller to Route
54-
newPath = origPath.replace(/controllers/g, "routes");
55-
}
52+
// if(toType === 1){
53+
// //Controller to Route
54+
// newPath = origPath.replace(/controllers/g, "routes");
55+
// }
5656
if(toType === 2){
5757
//Controller to Template
5858
newPath = origPath.replace(/controllers/g, "templates").replace(/.js/g, ".hbs");
@@ -68,9 +68,10 @@ export default class GoToggle {
6868
if (fromType === 2){
6969
if (toType === 0) {
7070
newPath = origPath.replace(/templates/g, "controllers").replace(/.hbs/g, ".js");
71-
}else if(toType === 1){
72-
newPath = origPath.replace(/templates/g, "routes");
7371
}
72+
// else if(toType === 1){
73+
// newPath = origPath.replace(/templates/g, "routes");
74+
// }
7475
}
7576
if (fromType === 3){
7677
if (toType === 4) {

lib/tab-watcher.js

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ export default class TabWatcher {
115115
}
116116

117117
getEmberPodName(item) {
118-
119118
if (typeof item.getPath !== "function") {
120119
return false;
121120
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ember-tabs",
33
"main": "./lib/ember-tabs",
4-
"version": "2.4.1",
4+
"version": "2.4.3",
55
"description": "Makes Atom work better with Ember pods.",
66
"keywords": [
77
"ember",

styles/ember-tabs.less

+13-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@
1212
overflow: hidden;
1313
white-space: pre;
1414
text-overflow: ellipsis;
15+
line-height: 12px;
16+
position: absolute;
17+
top:3px;
18+
left:0;
1519
}
1620

21+
1722
// Dave's stylesheet for default dark theme/Molokai
1823
.tab-bar .tab {
1924
max-width: 220px;
@@ -38,10 +43,17 @@ atom-workspace-axis.vertical .tab-bar .tab {
3843
height: 40px !important;
3944
}
4045

46+
4147
.pod-file-type {
4248
color: #ccc;
4349
}
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+
}
4557
.tab.active .pod-file-type {
4658
color: #66D9EF;
4759
}

0 commit comments

Comments
 (0)