Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1b466b5

Browse files
fix($compile): swap keys and values for transclude definition object
1 parent 522c8ed commit 1b466b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/directive/ngTransclude.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@
117117
return {
118118
restrict: 'E',
119119
transclude: {
120-
'paneTitle': '?title',
121-
'paneBody': 'body',
122-
'paneFooter': '?footer'
120+
'title': '?pane-title',
121+
'body': 'pane-body',
122+
'footer': '?pane-footer'
123123
},
124124
template: '<div style="border: 1px solid black;">' +
125125
'<div ng-transclude="title" style="background-color: gray"></div>' +

0 commit comments

Comments
 (0)