| Index: pkg/polymer/lib/src/build/utils.dart
|
| diff --git a/pkg/polymer/lib/src/build/utils.dart b/pkg/polymer/lib/src/build/utils.dart
|
| index 59fdc737c31bf698bf1e3eb26de654cf52c9ef2e..b0313734f832b1692bbc9c055a39e1f0ab748974 100644
|
| --- a/pkg/polymer/lib/src/build/utils.dart
|
| +++ b/pkg/polymer/lib/src/build/utils.dart
|
| @@ -4,11 +4,9 @@
|
|
|
| library polymer.src.utils;
|
|
|
| -/**
|
| - * Converts a string name with hyphens into an identifier, by removing hyphens
|
| - * and capitalizing the following letter. Optionally [startUppercase] to
|
| - * captialize the first letter.
|
| - */
|
| +/// Converts a string name with hyphens into an identifier, by removing hyphens
|
| +/// and capitalizing the following letter. Optionally [startUppercase] to
|
| +/// captialize the first letter.
|
| String toCamelCase(String hyphenedName, {bool startUppercase: false}) {
|
| var segments = hyphenedName.split('-');
|
| int start = startUppercase ? 0 : 1;
|
| @@ -22,7 +20,7 @@ String toCamelCase(String hyphenedName, {bool startUppercase: false}) {
|
| return segments.join('');
|
| }
|
|
|
| -/** Reverse of [toCamelCase]. */
|
| +/// Reverse of [toCamelCase].
|
| String toHyphenedName(String word) {
|
| var sb = new StringBuffer();
|
| for (int i = 0; i < word.length; i++) {
|
|
|