Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit a1d67aa

Browse files
committed
docs: wordsmithed module definitions for the top-level lib docs
1 parent 8daef71 commit a1d67aa

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

lib/directive/module.dart

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
/**
2-
* Directives for [angular.dart](#angular/angular), a web framework for Dart. A directive attaches
3-
* a specified behavior to a DOM element.
1+
/**
2+
* All of the core directives available in Angular. This library is included as part of [angular
3+
* .dart](#angular/angular).
44
*
5-
* This library is included as part of [angular.dart](#angular/angular). It provides all of
6-
* the core Directives available in Angular. You can extend Angular by writing your own directives
7-
* and providing them as part of a custom library.
5+
* A directive attaches a specified behavior to a DOM element. You can extend Angular by writing
6+
* your own directives and providing them as part of a custom library.
87
*
98
* Directives consist of a class specifying the behavior, and a directive annotation (such as a
10-
* [Decorator](#angular-core-annotation.Decorator) or a [Component](#angular-core-annotation.Component)) that
11-
* describes when the behavior should be applied.
9+
* [Decorator](#angular-core-annotation.Decorator) or a
10+
* [Component](#angular-core-annotation.Component)) that describes when the behavior should be
11+
* applied.
1212
*
1313
* For example:
1414
*

lib/formatter/module.dart

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/**
2-
* Formatters for [angular.dart](#angular/angular), a web framework for Dart. A formatter is a
3-
* pure function that performs a transformation on input data from an expression.
2+
* All of the core formatters available in Angular. This library is included as part of
3+
* [angular.dart](#angular/angular).
44
*
5-
* This library is included as part of [angular.dart](#angular/angular). It provides all of
6-
* the core formatters available in Angular. You can extend Angular by writing your own formatters
7-
* and providing them as part of a custom library. See the @[Formatter](#angular-core-annotation
8-
* .Formatter) class annotation for more detail.
5+
* A formatter is a pure function that performs a transformation on input data from an expression.
6+
* You can extend Angular by writing your own formatters and providing them as part of a custom
7+
* library. See the @[Formatter](#angular-core-annotation .Formatter) class annotation for more
8+
* detail.
99
*
1010
* Formatters are typically used within `{{ }}` to
1111
* convert data to human-readable form. They may also be used inside repeaters to transform arrays.
1212
*
1313
* For example:
1414
*
15-
* {{ expression | json }}
15+
* {{ expression | uppercase }}
1616
*
1717
* or, in a repeater:
1818
*

lib/formatter/module_internal.dart

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ part 'stringify.dart';
2222
/**
2323
* This module registers all the Angular formatters.
2424
*
25-
* When instantiating an Angular application through applicationFactory,
26-
* FormatterModule is automatically included.
25+
* When instantiating an Angular application through
26+
* [applicationFactory](#angular-app-factory@id_applicationFactory), FormatterModule is
27+
* automatically included.
2728
*/
2829
class FormatterModule extends Module {
2930
FormatterModule() {

0 commit comments

Comments
 (0)