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

Unified Diff: samples/github/lib/src/github_services.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 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
Index: samples/github/lib/src/github_services.dart
diff --git a/samples/github/lib/src/github_services.dart b/samples/github/lib/src/github_services.dart
index bd2ffe4d3b0d39f5f4a6332d0c08483c9cf7326e..65d3b4ee30557f6c1e0b3603b8efbd184857685c 100644
--- a/samples/github/lib/src/github_services.dart
+++ b/samples/github/lib/src/github_services.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:fletch';
+import 'dart:dartino';
import 'dart:convert' show JSON, UTF8;
import 'package:http/http.dart';
@@ -40,7 +40,7 @@ getJson(Connection service, String resource) {
HttpConnection connection = new HttpConnection(service.connect());
HttpRequest request = new HttpRequest('${service.host}/$resource');
request.headers["Host"] = service.host;
- request.headers["User-Agent"] = 'fletch';
+ request.headers["User-Agent"] = 'dartino';
HttpResponse response = connection.send(request);
if (response.statusCode != 200) {
throw 'Failed request: $resource on port ${service.port}';
@@ -143,7 +143,7 @@ class Pagination {
int firstPage = start ~/ count;
int lastPage = (end ~/ count) + 1;
// Scheduling prefetching of surrounding pages in descending order.
- // (Currently the fletch scheduler will process these in reverse order).
+ // (Currently the dartino scheduler will process these in reverse order).
if (firstPage > 0) prefetch(firstPage - 1);
prefetch(lastPage + 1);
for (int i = lastPage; i >= firstPage; --i) {

Powered by Google App Engine
This is Rietveld 408576698