Skip to content

Commit 71002c4

Browse files
committed
move log-box to attr
1 parent 8618392 commit 71002c4

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

client/directives/activePanel/viewActivePanel.jade

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
ng-if = "item.state.type === 'BuildStream'"
99
)
1010

11-
log-box(
11+
.logs(
12+
log-box
1213
ng-if = "item.state.type === 'LogView'"
1314
)
1415

client/directives/logBox/directiveLogBox.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ function logBox(
1717
user
1818
) {
1919
return {
20-
restrict: 'E',
20+
restrict: 'A',
2121
scope: {},
22-
templateUrl: 'viewLogBox',
2322
link: function ($scope, elem, attrs) {
2423
/**
2524
* Creates instance of Terminal w/ default

client/directives/logBox/viewLogBox.jade

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/unit/directives/directiveLogBox.unit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('directiveLogBox'.bold.underline.blue, function() {
8888

8989
beforeEach(function() {
9090
ctx = {};
91-
ctx.template = directiveTemplate('log-box', {});
91+
ctx.template = directiveTemplate.attribute('log-box');
9292
});
9393

9494
beforeEach(injectSetupCompile);

0 commit comments

Comments
 (0)