Skip to content

Commit 3a9e55f

Browse files
mtaran-googlejamesdaily
authored andcommitted
docs(guide/directive): fix indentation in example code
Closes angular#4241
1 parent e13db7a commit 3a9e55f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/directive.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,10 @@ Following is an example of building a reusable widget.
682682
'</div>',
683683
// The linking function will add behavior to the template
684684
link: function(scope, element, attrs) {
685-
// Title element
685+
// Title element
686686
var title = angular.element(element.children()[0]),
687-
// Opened / closed state
688-
opened = true;
687+
// Opened / closed state
688+
opened = true;
689689

690690
// Clicking on title should open/close the zippy
691691
title.on('click', toggle);

0 commit comments

Comments
 (0)