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

Side by Side Diff: pkg/polymer/lib/src/build/script_compactor.dart

Issue 23757034: Rearranges the polymer package now that the old compiler is gone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/lib/src/build/runner.dart ('k') | pkg/polymer/lib/src/linter.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 /** Transfomer that combines multiple dart script tags into a single one. */ 5 /** Transfomer that combines multiple dart script tags into a single one. */
6 library polymer.src.transform.script_compactor; 6 library polymer.src.build.script_compactor;
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 9
10 import 'package:barback/barback.dart'; 10 import 'package:barback/barback.dart';
11 import 'package:html5lib/parser.dart' show parseFragment; 11 import 'package:html5lib/parser.dart' show parseFragment;
12 import 'package:path/path.dart' as path; 12 import 'package:path/path.dart' as path;
13 13
14 import 'code_extractor.dart'; // import just for documentation. 14 import 'code_extractor.dart'; // import just for documentation.
15 import 'common.dart'; 15 import 'common.dart';
16 16
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 void main() { 120 void main() {
121 initPolymer([ 121 initPolymer([
122 """; 122 """;
123 123
124 // TODO(sigmund): investigate alternative to get the baseUri (dartbug.com/12612) 124 // TODO(sigmund): investigate alternative to get the baseUri (dartbug.com/12612)
125 const _mainSuffix = """ 125 const _mainSuffix = """
126 ], currentMirrorSystem().isolate.rootLibrary.uri.toString()); 126 ], currentMirrorSystem().isolate.rootLibrary.uri.toString());
127 } 127 }
128 """; 128 """;
OLDNEW
« no previous file with comments | « pkg/polymer/lib/src/build/runner.dart ('k') | pkg/polymer/lib/src/linter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698