Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec93f94

Browse files
mtaran-googlepetebacondarwin
authored andcommitted
docs(guide/directive): fix indentation in example code
Closes angular#4241
1 parent 7665497 commit ec93f94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/directive.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,10 +647,10 @@ Following is an example of building a reusable widget.
647647
'</div>',
648648
// The linking function will add behavior to the template
649649
link: function(scope, element, attrs) {
650-
// Title element
650+
// Title element
651651
var title = angular.element(element.children()[0]),
652-
// Opened / closed state
653-
opened = true;
652+
// Opened / closed state
653+
opened = true;
654654

655655
// Clicking on title should open/close the zippy
656656
title.bind('click', toggle);

0 commit comments

Comments
 (0)