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

Unified Diff: pkg/polymer/lib/src/build/code_extractor.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/code_extractor.dart
diff --git a/pkg/polymer/lib/src/build/code_extractor.dart b/pkg/polymer/lib/src/build/code_extractor.dart
index 71deb3dbfa390a45e40ee23744c21aa9760ac896..c66e8972ae437a5f9350092fd4574396ae0e3046 100644
--- a/pkg/polymer/lib/src/build/code_extractor.dart
+++ b/pkg/polymer/lib/src/build/code_extractor.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.
-/** Transfomer that extracts inlined script code into separate assets. */
+/// Transfomer that extracts inlined script code into separate assets.
library polymer.src.build.code_extractor;
import 'dart:async';
@@ -16,16 +16,14 @@ import 'package:path/path.dart' as path;
import 'common.dart';
-/**
- * Transformer that extracts Dart code inlined in HTML script tags and outputs a
- * separate file for each.
- */
+/// Transformer that extracts Dart code inlined in HTML script tags and outputs
+/// a separate file for each.
class InlineCodeExtractor extends Transformer with PolymerTransformer {
final TransformOptions options;
InlineCodeExtractor(this.options);
- /** Only run this transformer on .html files. */
+ /// Only run this transformer on .html files.
final String allowedExtensions = ".html";
Future apply(Transform transform) {
@@ -69,7 +67,7 @@ class InlineCodeExtractor extends Transformer with PolymerTransformer {
}
}
-/** Parse [code] and determine whether it has a library directive. */
+/// Parse [code] and determine whether it has a library directive.
bool _hasLibraryDirective(String code) {
var errorListener = new _ErrorCollector();
var reader = new CharSequenceReader(code);

Powered by Google App Engine
This is Rietveld 408576698