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

Side by Side Diff: pkg/compiler/samples/compile_loop/compile_loop.dart

Issue 687973002: Copy dart2js source into pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/compiler/lib/src/world.dart ('k') | pkg/compiler/samples/darttags/darttags.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // This sample demonstrates how to run the compiler in a loop reading 5 // This sample demonstrates how to run the compiler in a loop reading
6 // all sources from memory, instead of using dart:io. 6 // all sources from memory, instead of using dart:io.
7 library sample.compile_loop; 7 library sample.compile_loop;
8 8
9 import 'dart:async'; 9 import 'dart:async';
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 var greeting = "Hello, World!"; 68 var greeting = "Hello, World!";
69 69
70 // Displays a greeting. 70 // Displays a greeting.
71 void main() { 71 void main() {
72 // This example uses HTML to display the greeting and it will appear 72 // This example uses HTML to display the greeting and it will appear
73 // in a nested HTML frame (an iframe). 73 // in a nested HTML frame (an iframe).
74 document.body.append(new HeadingElement.h1()..appendText(greeting)); 74 document.body.append(new HeadingElement.h1()..appendText(greeting));
75 } 75 }
76 '''; 76 ''';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/world.dart ('k') | pkg/compiler/samples/darttags/darttags.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698