Skip to content

Commit

Permalink
parseInt is now parse on int
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Ladd committed Sep 20, 2012
1 parent 68b81d5 commit de330a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-app/main.dart
Expand Up @@ -3,7 +3,7 @@

main() {
var server = new HttpServer();
int port = Math.parseInt(Platform.environment['PORT']);
var port = int.parse(Platform.environment['PORT']);
server.listen('0.0.0.0', port);
print('Server started on port: ${port}');

Expand Down

0 comments on commit de330a1

Please sign in to comment.