cleanup unneeded library declarations and add missing copyright notices
diff --git a/pkgs/markdown/benchmark/benchmark.dart b/pkgs/markdown/benchmark/benchmark.dart index ed6b521..06a2cba 100644 --- a/pkgs/markdown/benchmark/benchmark.dart +++ b/pkgs/markdown/benchmark/benchmark.dart
@@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library markdown.benchmark.benchmark; - import 'dart:io'; import 'package:path/path.dart' as p;
diff --git a/pkgs/markdown/example/highlight.dart b/pkgs/markdown/example/highlight.dart index be62357..4460b6e 100644 --- a/pkgs/markdown/example/highlight.dart +++ b/pkgs/markdown/example/highlight.dart
@@ -1,3 +1,7 @@ +// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + @JS('hljs') library hljs;
diff --git a/pkgs/markdown/lib/src/ast.dart b/pkgs/markdown/lib/src/ast.dart index cf2b1f7..12a79cc 100644 --- a/pkgs/markdown/lib/src/ast.dart +++ b/pkgs/markdown/lib/src/ast.dart
@@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library markdown.src.ast; - typedef Node Resolver(String name); /// Base class for any AST item.
diff --git a/pkgs/markdown/lib/src/block_parser.dart b/pkgs/markdown/lib/src/block_parser.dart index 20e05ba..482ca35 100644 --- a/pkgs/markdown/lib/src/block_parser.dart +++ b/pkgs/markdown/lib/src/block_parser.dart
@@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library markdown.block_parser; - import 'ast.dart'; import 'document.dart'; import 'util.dart';
diff --git a/pkgs/markdown/lib/src/document.dart b/pkgs/markdown/lib/src/document.dart index 32361d7..aa45092 100644 --- a/pkgs/markdown/lib/src/document.dart +++ b/pkgs/markdown/lib/src/document.dart
@@ -1,4 +1,6 @@ -library markdown.src.document; +// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. import 'ast.dart'; import 'block_parser.dart';
diff --git a/pkgs/markdown/lib/src/html_renderer.dart b/pkgs/markdown/lib/src/html_renderer.dart index f88f2c4..0e545d1 100644 --- a/pkgs/markdown/lib/src/html_renderer.dart +++ b/pkgs/markdown/lib/src/html_renderer.dart
@@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library markdown.src.html_renderer; - import 'dart:collection'; import 'ast.dart';
diff --git a/pkgs/markdown/lib/src/inline_parser.dart b/pkgs/markdown/lib/src/inline_parser.dart index 8b82a50..cc01f73 100644 --- a/pkgs/markdown/lib/src/inline_parser.dart +++ b/pkgs/markdown/lib/src/inline_parser.dart
@@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library markdown.src.inline_parser; - import 'ast.dart'; import 'document.dart'; import 'util.dart';
diff --git a/pkgs/markdown/test/util.dart b/pkgs/markdown/test/util.dart index decfe42..db71fc0 100644 --- a/pkgs/markdown/test/util.dart +++ b/pkgs/markdown/test/util.dart
@@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library markdown.test.util; - import 'dart:mirrors'; import 'package:expected_output/expected_output.dart';