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

Side by Side Diff: lib/src/dependency_graph.dart

Issue 1200233004: fixes #168, dart:js implementation with a test (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix error (window not defined) Created 5 years, 6 months 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
« no previous file with comments | « lib/runtime/dart/js.js ('k') | lib/src/js/nodes.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Tracks the shape of the import/export graph and dependencies between files. 5 /// Tracks the shape of the import/export graph and dependencies between files.
6 library dev_compiler.src.dependency_graph; 6 library dev_compiler.src.dependency_graph;
7 7
8 import 'dart:collection' show HashSet, HashMap; 8 import 'dart:collection' show HashSet, HashMap;
9 9
10 import 'package:analyzer/analyzer.dart' show parseDirectives; 10 import 'package:analyzer/analyzer.dart' show parseDirectives;
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 'dart._js_embedded_names', 527 'dart._js_embedded_names',
528 'dart._js_helper', 528 'dart._js_helper',
529 'dart.isolate', 529 'dart.isolate',
530 'dart.typed_data', 530 'dart.typed_data',
531 'dart._native_typed_data', 531 'dart._native_typed_data',
532 'dart._isolate_helper', 532 'dart._isolate_helper',
533 'dart._js_primitives', 533 'dart._js_primitives',
534 'dart.convert', 534 'dart.convert',
535 'dart.mirrors', 535 'dart.mirrors',
536 'dart._js_mirrors', 536 'dart._js_mirrors',
537 'dart.js'
537 // _foreign_helper is not included, as it only defines the JS builtin that 538 // _foreign_helper is not included, as it only defines the JS builtin that
538 // the compiler handles at compile time. 539 // the compiler handles at compile time.
539 ]; 540 ];
540 541
541 /// Runtime files added to applications when running in server mode. 542 /// Runtime files added to applications when running in server mode.
542 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) 543 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles)
543 ..addAll(const ['messages_widget.js', 'messages.css']); 544 ..addAll(const ['messages_widget.js', 'messages.css']);
544 545
545 final _log = new Logger('dev_compiler.dependency_graph'); 546 final _log = new Logger('dev_compiler.dependency_graph');
OLDNEW
« no previous file with comments | « lib/runtime/dart/js.js ('k') | lib/src/js/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698