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

Unified Diff: runtime/lib/string_patch.dart

Issue 10883052: Unify String. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Style and add missing file. Created 8 years, 4 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 | « runtime/lib/lib_impl_sources.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/string_patch.dart
diff --git a/runtime/lib/string_patch.dart b/runtime/lib/string_patch.dart
new file mode 100644
index 0000000000000000000000000000000000000000..07f3818027962bca0c14cbef3775c71a07cb7a1c
--- /dev/null
+++ b/runtime/lib/string_patch.dart
@@ -0,0 +1,17 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+patch class StringImplementation {
+ /* patch */ static String _fromCharCodes(List<int> charCodes) {
+ return StringBase.createFromCharCodes(charCodes);
+ }
+
+ /* patch */ static String join(List<String> strings, String separator) {
+ return StringBase.join(strings, separator);
+ }
+
+ /* patch */ static String concatAll(List<String> strings) {
+ return StringBase.concatAll(strings);
+ }
+}
« no previous file with comments | « runtime/lib/lib_impl_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698