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

Unified Diff: lib/iron_iconset_svg.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 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
« no previous file with comments | « lib/iron_iconset.dart ('k') | lib/iron_list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/iron_iconset_svg.dart
diff --git a/lib/iron_iconset_svg.dart b/lib/iron_iconset_svg.dart
index 87349d961faa0d4af79d121eda21ccced21067ba..d41b09caea1f89da24f5aa959e3ab068c742e025 100644
--- a/lib/iron_iconset_svg.dart
+++ b/lib/iron_iconset_svg.dart
@@ -15,9 +15,9 @@ import 'iron_meta.dart';
/// `iron-iconset-svg` element. Multiple icons should be given distinct id's.
///
/// Using svg elements to create icons has a few advantages over traditional
-/// bitmap graphics like jpg or png. Icons that use svg are vector based so they
-/// are resolution independent and should look good on any device. They are
-/// stylable via css. Icons can be themed, colorized, and even animated.
+/// bitmap graphics like jpg or png. Icons that use svg are vector based so
+/// they are resolution independent and should look good on any device. They
+/// are stylable via css. Icons can be themed, colorized, and even animated.
///
/// Example:
///
@@ -58,7 +58,7 @@ class IronIconsetSvg extends HtmlElement with CustomElementProxyMixin, PolymerBa
/// otherwise to the element itself.
/// [element]: Element to which the icon is applied.
/// [iconName]: Name of the icon to apply.
- Element applyIcon(Element element, String iconName) =>
+ applyIcon(Element element, String iconName) =>
jsElement.callMethod('applyIcon', [element, iconName]);
/// Construct an array of all icon names in this iconset.
« no previous file with comments | « lib/iron_iconset.dart ('k') | lib/iron_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698