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

Unified Diff: pkg/polymer/lib/src/build/polyfill_injector.dart

Issue 180373003: [polymer] switch comment style (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: pkg/polymer/lib/src/build/polyfill_injector.dart
diff --git a/pkg/polymer/lib/src/build/polyfill_injector.dart b/pkg/polymer/lib/src/build/polyfill_injector.dart
index 02b9fd1fa7ca0777d41ef2251939b2e7f3c4ca87..d1597e17030ae51cf0133f0d5db7a56ca80f61a1 100644
--- a/pkg/polymer/lib/src/build/polyfill_injector.dart
+++ b/pkg/polymer/lib/src/build/polyfill_injector.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-/** Includes any additional polyfills that may needed by the deployed app. */
+/// Includes any additional polyfills that may needed by the deployed app.
library polymer.src.build.polyfill_injector;
import 'dart:async';
@@ -13,20 +13,18 @@ import 'package:html5lib/dom.dart' show
import 'package:html5lib/parser.dart' show parseFragment;
import 'common.dart';
-/**
- * Ensures that any scripts and polyfills needed to run a polymer application
- * are included. For example, this transformer will ensure that there is a
- * script tag that loads the polyfills and interop.js (used for css shimming).
- *
- * This step also replaces "packages/browser/dart.js" and the Dart script tag
- * with a script tag that loads the dart2js compiled code directly.
- */
+/// Ensures that any scripts and polyfills needed to run a polymer application
+/// are included. For example, this transformer will ensure that there is a
+/// script tag that loads the polyfills and interop.js (used for css shimming).
+///
+/// This step also replaces "packages/browser/dart.js" and the Dart script tag
+/// with a script tag that loads the dart2js compiled code directly.
class PolyfillInjector extends Transformer with PolymerTransformer {
final TransformOptions options;
PolyfillInjector(this.options);
- /** Only run on entry point .html files. */
+ /// Only run on entry point .html files.
Future<bool> isPrimary(Asset input) =>
new Future.value(options.isHtmlEntryPoint(input.id));

Powered by Google App Engine
This is Rietveld 408576698