Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: samples/markdown/lib.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/isolate_html/isolate_sample.dart ('k') | samples/markdown/markdown.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/markdown/lib.dart
diff --git a/samples/markdown/lib.dart b/samples/markdown/lib.dart
index 422e9e88bb424a188830f8c3a5608f05e60bd8f7..0cac9db1b224a708aa857edc38aecc0b167f3d76 100644
--- a/samples/markdown/lib.dart
+++ b/samples/markdown/lib.dart
@@ -5,12 +5,12 @@
/// Parses text in markdown format. Use this entrypoint if you want to parse
/// markdown from your own Dart code. To parse markdown by running the script
/// directly from the command line, see markdown.dart.
-#library('markdown');
+library markdown;
-#source('ast.dart');
-#source('block_parser.dart');
-#source('html_renderer.dart');
-#source('inline_parser.dart');
+part 'ast.dart';
+part 'block_parser.dart';
+part 'html_renderer.dart';
+part 'inline_parser.dart';
/// Converts the given string of markdown to HTML.
String markdownToHtml(String markdown) {
« no previous file with comments | « samples/isolate_html/isolate_sample.dart ('k') | samples/markdown/markdown.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698