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

Unified Diff: ui/webui/resources/js/util.js

Issue 132013002: Replace own callback handling with Promises. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests. Created 6 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: ui/webui/resources/js/util.js
diff --git a/ui/webui/resources/js/util.js b/ui/webui/resources/js/util.js
index ade780d0cc9fddc8aa715854f485cb8a267b6731..1da0ed97b7c224c3a9178f0758196dcf6153ff99 100644
--- a/ui/webui/resources/js/util.js
+++ b/ui/webui/resources/js/util.js
@@ -407,5 +407,5 @@ function HTMLEscape(original) {
function elide(original, maxLength) {
if (original.length <= maxLength)
return original;
- return original.substring(0, maxLength - 3) + '...';
+ return original.substring(0, maxLength - 3) + '\u2026';
Bernhard Bauer 2014/01/10 13:52:08 Now that you use a single character for the ellips
Adrian Kuegel 2014/01/10 16:52:01 Done.
}

Powered by Google App Engine
This is Rietveld 408576698