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

Unified Diff: ui/file_manager/gallery/js/image_editor/exif_encoder.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « ui/file_manager/gallery/js/gallery_item.js ('k') | ui/file_manager/gallery/js/image_editor/filter.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/image_editor/exif_encoder.js
diff --git a/ui/file_manager/gallery/js/image_editor/exif_encoder.js b/ui/file_manager/gallery/js/image_editor/exif_encoder.js
index 3787958b3db7fe8f255fdc4f30fb89f037574438..cc9c06b5fc564c54cd31aa0f971b66e7c67f2178 100644
--- a/ui/file_manager/gallery/js/image_editor/exif_encoder.js
+++ b/ui/file_manager/gallery/js/image_editor/exif_encoder.js
@@ -120,7 +120,7 @@ ExifEncoder.prototype.setThumbnailData = function(canvas, quality) {
ExifEncoder.findOrCreateTag(thumbnail, EXIF_TAG_ORIENTATION).value = 1;
} else {
console.warn(
- 'Thumbnail URL too long: ' + this.metadata_.thumbnailURL.length);
+ 'Thumbnail URL too long: ' + this.metadata_.thumbnailURL.length);
// Delete thumbnail ifd so that it is not written out to a file, but
// keep thumbnailURL for display purposes.
if (this.ifd_.thumbnail) {
@@ -379,7 +379,7 @@ ExifEncoder.writeValue = function(bw, tag) {
var signed = (tag.format == 9 || tag.format == 10);
if (tag.componentCount == 1) {
- writeComponent(tag.value, signed);
+ writeComponent(tag.value, signed);
} else {
for (var i = 0; i != tag.componentCount; i++) {
writeComponent(tag.value[i], signed);
@@ -477,9 +477,9 @@ ByteWriter.prototype.validateWrite = function(width) {
*/
ByteWriter.prototype.writeScalar = function(value, width, opt_signed) {
var method;
-// The below switch is so verbose for two reasons:
-// 1. V8 is faster on method names which are 'symbols'.
-// 2. Method names are discoverable by full text search.
+ // The below switch is so verbose for two reasons:
+ // 1. V8 is faster on method names which are 'symbols'.
+ // 2. Method names are discoverable by full text search.
switch (width) {
case 1:
method = opt_signed ? 'setInt8' : 'setUint8';
« no previous file with comments | « ui/file_manager/gallery/js/gallery_item.js ('k') | ui/file_manager/gallery/js/image_editor/filter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698