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

Unified Diff: utils/template/template.dart

Issue 11358145: Update utils to new library syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 | « utils/pub/yaml/yaml.dart ('k') | utils/template/tool.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/template/template.dart
===================================================================
--- utils/template/template.dart (revision 14646)
+++ utils/template/template.dart (working copy)
@@ -2,24 +2,24 @@
// 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('template');
+library template;
-#import('dart:math', prefix: 'Math');
-#import('../css/css.dart', prefix:'css');
-#import('../lib/file_system_memory.dart');
+import 'dart:math' as Math;
+import '../css/css.dart' as css;
+import '../lib/file_system_memory.dart';
-#source('tokenkind.dart');
-#source('token.dart');
-#source('source.dart');
-#source('tokenizer_base.dart');
-#source('tokenizer.dart');
-#source('parser.dart');
-#source('codegen.dart');
-#source('tree.dart');
-#source('htmltree.dart');
-#source('utils.dart');
-#source('temploptions.dart');
-#source('world.dart');
+part 'tokenkind.dart';
+part 'token.dart';
+part 'source.dart';
+part 'tokenizer_base.dart';
+part 'tokenizer.dart';
+part 'parser.dart';
+part 'codegen.dart';
+part 'tree.dart';
+part 'htmltree.dart';
+part 'utils.dart';
+part 'temploptions.dart';
+part 'world.dart';
void initHtmlWorld([bool commandLine = true]) {
« no previous file with comments | « utils/pub/yaml/yaml.dart ('k') | utils/template/tool.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698