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

Side by Side Diff: site/try/src/editor.dart

Issue 690103004: Move dart2js from sdk/lib/_internal/compiler to 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 | « site/try/src/compiler_isolate.dart ('k') | site/try/src/interaction_manager.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 library trydart.editor; 5 library trydart.editor;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 8
9 import 'package:compiler/implementation/scanner/scannerlib.dart' show 9 import 'package:compiler/src/scanner/scannerlib.dart' show
10 EOF_TOKEN, 10 EOF_TOKEN,
11 ErrorToken, 11 ErrorToken,
12 StringScanner, 12 StringScanner,
13 Token; 13 Token;
14 14
15 import 'ui.dart' show 15 import 'ui.dart' show
16 currentTheme, 16 currentTheme,
17 hackDiv, 17 hackDiv,
18 interaction, 18 interaction,
19 mainEditorPane, 19 mainEditorPane,
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 content = new Text(content); 267 content = new Text(content);
268 } 268 }
269 if (content is! List) { 269 if (content is! List) {
270 content = [content]; 270 content = [content];
271 } 271 }
272 return new AnchorElement() 272 return new AnchorElement()
273 ..classes.add('diagnostic') 273 ..classes.add('diagnostic')
274 ..append(tip) // Should be first for better Firefox editing. 274 ..append(tip) // Should be first for better Firefox editing.
275 ..nodes.addAll(content); 275 ..nodes.addAll(content);
276 } 276 }
OLDNEW
« no previous file with comments | « site/try/src/compiler_isolate.dart ('k') | site/try/src/interaction_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698