Chromium Code Reviews| Index: pkg/source_maps/lib/source_maps.dart |
| diff --git a/pkg/source_maps/lib/source_maps.dart b/pkg/source_maps/lib/source_maps.dart |
| index 4e24deab53be93cb0dfd040e77a0fea8a9e6c51e..a208ae43f1e8d4bde8cd5d79dc2f88ba4d934ffe 100644 |
| --- a/pkg/source_maps/lib/source_maps.dart |
| +++ b/pkg/source_maps/lib/source_maps.dart |
| @@ -4,6 +4,18 @@ |
| /// Source maps library. |
| /// |
| +/// ## Installing ## |
| +/// |
| +/// Use [pub][] to install this package. Add the following to your `pubspec.yaml` |
|
Andrei Mouravski
2013/04/19 20:13:35
Line too long.
sethladd
2013/04/19 20:32:43
Done.
|
| +/// file. |
| +/// |
| +/// dependencies: |
| +/// source_maps: any |
| +/// |
| +/// And then run `pub install`. |
| +/// |
| +/// ## Using ## |
| +/// |
| /// Create a source map using [SourceMapBuilder]. For example: |
| /// var json = (new SourceMapBuilder() |
| /// ..add(inputSpan1, outputSpan1) |
| @@ -17,6 +29,8 @@ |
| /// object. For example: |
| /// var mapping = parse(json); |
| /// mapping.spanFor(outputSpan1.line, outputSpan1.column) |
| +/// |
| +/// [pub]: http://pub.dartlang.org |
| library source_maps; |
| export "builder.dart"; |