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

Unified Diff: samples/logo/logo.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « samples/isolate_html/isolate_sample.dart ('k') | samples/markdown/block_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/logo/logo.dart
diff --git a/samples/logo/logo.dart b/samples/logo/logo.dart
index 8c3a24fdf043cc74fe4f5fc1e746d0da3f48a078..57623d4cef25978f22ea4df628e7b15b9f9fcac4 100644
--- a/samples/logo/logo.dart
+++ b/samples/logo/logo.dart
@@ -110,9 +110,9 @@ InputElement hue, saturation, lightness;
Map<String, Color> defaultColors;
onSliderChange(_) {
- final hueDelta = Math.parseInt(hue.value) - 180;
- final saturationMod = Math.parseInt(saturation.value)/100;
- final lightnessMod = Math.parseInt(lightness.value)/100;
+ final hueDelta = int.parse(hue.value) - 180;
+ final saturationMod = int.parse(saturation.value)/100;
+ final lightnessMod = int.parse(lightness.value)/100;
logo.queryAll("path").forEach((p) {
final color = defaultColors[p.id].dup();
« no previous file with comments | « samples/isolate_html/isolate_sample.dart ('k') | samples/markdown/block_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698