Chromium Code Reviews| 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..9b22f70de66b75cc260bf6bedb7aadbe4f9c803f 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,7 @@ function WallpaperManager(dialogDom) { |
| * Returns a translated string. |
| * |
| * Wrapper function to make dealing with translated strings more concise. |
| - * Equivilant to localStrings.getString(id). |
| + * Equivalent to loadTimeData.getString(id). |
|
Dan Beam
2014/09/23 00:20:47
just remove this part of the comment, imo (it's pr
Evan Stade
2014/09/23 01:05:36
Done.
|
| * |
| * @param {string} id The id of the string to return. |
| * @return {string} The translated string. |
| @@ -524,7 +524,7 @@ function WallpaperManager(dialogDom) { |
| }); |
| }, errorHandler); |
| }, errorHandler); |
| - } |
| + }; |
| this.wallpaperDirs_.getDirectory(WallpaperDirNameEnum.ORIGINAL, |
| success, errorHandler); |
| break; |
| @@ -875,7 +875,7 @@ function WallpaperManager(dialogDom) { |
| fileEntry.remove(function() { |
| }, errorHandler); |
| }, errorHandler); |
| - } |
| + }; |
| // Removes copy of original. |
| self.wallpaperDirs_.getDirectory(WallpaperDirNameEnum.ORIGINAL, success, |
| @@ -967,7 +967,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 +1009,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 +1027,7 @@ function WallpaperManager(dialogDom) { |
| }, errorHandler); |
| }; |
| readEntries(); // Start reading dirs. |
| - } |
| + }; |
| this.wallpaperDirs_.getDirectory(WallpaperDirNameEnum.ORIGINAL, |
| success, errorHandler); |
| } else { |