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

Commit 33ad2b4

Browse files
committed
docs(guide): hide scenario for directive example
scenario test for this example would be tricky, we need to teach the runner how to inject mocks first.
1 parent b84eaff commit 33ad2b4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/content/guide/directive.ngdoc

+1-3
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,10 @@ In this example we will build a directive which displays the current time.
216216
});
217217
</script>
218218
<div ng-controller="Ctrl2">
219-
Date format: <input ng-model='format'> <hr/>
219+
Date format: <input ng-model="format"> <hr/>
220220
Current time is: <span my-current-time="format"></span>
221221
</div>
222222
</doc:source>
223-
<doc:scenario>
224-
</doc:scenario>
225223
</doc:example>
226224

227225

0 commit comments

Comments
 (0)