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

Unified Diff: chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js

Issue 588363002: WebUI: Update some more uses of the old-style i18ntemplate/LocalStrings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IDS_CANCEL change is in a different cl Created 6 years, 3 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: chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js
diff --git a/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js b/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js
index 8344d436ecf95a5cc3bbbce337d1bfbafc3d5b89..cc4569f2770f85637993126ed764d0857edbb987 100644
--- a/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js
+++ b/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js
@@ -54,7 +54,6 @@ function WallpaperManager(dialogDom) {
* Returns a translated string.
*
* Wrapper function to make dealing with translated strings more concise.
- * Equivilant to localStrings.getString(id).
*
* @param {string} id The id of the string to return.
* @return {string} The translated string.
@@ -524,7 +523,7 @@ function WallpaperManager(dialogDom) {
});
}, errorHandler);
}, errorHandler);
- }
+ };
this.wallpaperDirs_.getDirectory(WallpaperDirNameEnum.ORIGINAL,
success, errorHandler);
break;
@@ -875,7 +874,7 @@ function WallpaperManager(dialogDom) {
fileEntry.remove(function() {
}, errorHandler);
}, errorHandler);
- }
+ };
// Removes copy of original.
self.wallpaperDirs_.getDirectory(WallpaperDirNameEnum.ORIGINAL, success,
@@ -967,7 +966,7 @@ function WallpaperManager(dialogDom) {
var errorHandler = this.onFileSystemError_.bind(this);
var toArray = function(list) {
return Array.prototype.slice.call(list || [], 0);
- }
+ };
var self = this;
var processResults = function(entries) {
@@ -1009,7 +1008,7 @@ function WallpaperManager(dialogDom) {
self.wallpaperGrid_.dataModel = wallpapersDataModel;
self.wallpaperGrid_.selectedItem = selectedItem;
self.wallpaperGrid_.activeItem = selectedItem;
- }
+ };
var success = function(dirEntry) {
var dirReader = dirEntry.createReader();
@@ -1027,7 +1026,7 @@ function WallpaperManager(dialogDom) {
}, errorHandler);
};
readEntries(); // Start reading dirs.
- }
+ };
this.wallpaperDirs_.getDirectory(WallpaperDirNameEnum.ORIGINAL,
success, errorHandler);
} else {
« no previous file with comments | « chrome/browser/resources/chromeos/sim_unlock.js ('k') | chrome/browser/resources/print_preview/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698