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

Commit 5ec2fed

Browse files
fix($compile): swap keys and values for transclude definition object
1 parent c063544 commit 5ec2fed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/directive/ngTransclude.js

+3-3
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': '?paneTitle',
121+
'body': 'paneBody',
122+
'footer': '?paneFooter'
123123
},
124124
template: '<div style="border: 1px solid black;">' +
125125
'<div ng-transclude="title" style="background-color: gray"></div>' +

0 commit comments

Comments
 (0)