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

Unified Diff: samples/isolate_html/isolate_sample.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/dartcombat/player.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/isolate_html/isolate_sample.dart
diff --git a/samples/isolate_html/isolate_sample.dart b/samples/isolate_html/isolate_sample.dart
index 2d04d1b1f3f8eb1fa4d52bc242c89bdb615fa416..b28b44784415e08175049f555e7dd564cf775e8a 100644
--- a/samples/isolate_html/isolate_sample.dart
+++ b/samples/isolate_html/isolate_sample.dart
@@ -6,7 +6,6 @@ library isolate_sample;
import 'dart:html';
import 'dart:isolate';
-import 'dart:math';
/*
* This is a simple sample application showing how to create two isolates
@@ -75,7 +74,7 @@ void isolateMain() {
'received message: <span class="messageText">"${message}"</span>';
if (div.query('input.replyCheckbox').checked) {
InputElement element = div.query('.delayTextbox');
- int millis = parseInt(element.value);
+ int millis = int.parse(element.value);
// TODO(justinfagnani): use Timer when it works in isolates in dart2js
// see: http://dartbug.com/4997
window.setTimeout(() {
« no previous file with comments | « samples/dartcombat/player.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698