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

Side by Side Diff: pkg/polymer/lib/src/build/polyfill_injector.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/linter.dart ('k') | pkg/polymer/lib/src/build/runner.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 /** 5 /**
6 * Final phase of the polymer transformation: includes any additional polyfills 6 * Final phase of the polymer transformation: includes any additional polyfills
7 * that may needed by the deployed app. 7 * that may needed by the deployed app.
8 */ 8 */
9 library polymer.src.transform.polyfill_injector; 9 library polymer.src.build.polyfill_injector;
10 10
11 import 'dart:async'; 11 import 'dart:async';
12 12
13 import 'package:barback/barback.dart'; 13 import 'package:barback/barback.dart';
14 import 'package:html5lib/dom.dart' show Document, Node, DocumentFragment; 14 import 'package:html5lib/dom.dart' show Document, Node, DocumentFragment;
15 import 'package:html5lib/parser.dart' show parseFragment; 15 import 'package:html5lib/parser.dart' show parseFragment;
16 import 'common.dart'; 16 import 'common.dart';
17 17
18 /** 18 /**
19 * Ensures that any scripts and polyfills needed to run a polymer application 19 * Ensures that any scripts and polyfills needed to run a polymer application
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 '<script src="packages/shadow_dom/shadow_dom.debug.js"></script>\n') ); 81 '<script src="packages/shadow_dom/shadow_dom.debug.js"></script>\n') );
82 } 82 }
83 83
84 transform.addOutput( 84 transform.addOutput(
85 new Asset.fromString(transform.primaryInput.id, document.outerHtml)); 85 new Asset.fromString(transform.primaryInput.id, document.outerHtml));
86 }); 86 });
87 } 87 }
88 } 88 }
89 89
90 final _shadowDomJS = new RegExp(r'shadow_dom\..*\.js', caseSensitive: false); 90 final _shadowDomJS = new RegExp(r'shadow_dom\..*\.js', caseSensitive: false);
OLDNEW
« no previous file with comments | « pkg/polymer/lib/src/build/linter.dart ('k') | pkg/polymer/lib/src/build/runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698