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

Unified Diff: chrome/browser/resources/file_manager/js/image_editor/commands.js

Issue 12212187: [Cleanup] Files.app: Misc style fixes in Javascript code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/file_manager/js/image_editor/commands.js
diff --git a/chrome/browser/resources/file_manager/js/image_editor/commands.js b/chrome/browser/resources/file_manager/js/image_editor/commands.js
index 797d567f28a9f466e70445d177aad472fdb132d2..fa32fefeb20c50ea3853084c33c4754465767339 100644
--- a/chrome/browser/resources/file_manager/js/image_editor/commands.js
+++ b/chrome/browser/resources/file_manager/js/image_editor/commands.js
@@ -7,10 +7,10 @@
* Supports undo/redo.
* Command execution is asynchronous (callback-based).
*
- * @constructor
* @param {Document} document Document to create canvases in.
* @param {HTMLCanvasElement} canvas The canvas with the original image.
* @param {function(callback)} saveFunction Function to save the image.
+ * @constructor
*/
function CommandQueue(document, canvas, saveFunction) {
this.document_ = document;
@@ -218,8 +218,8 @@ CommandQueue.prototype.redo = function() {
* Command object encapsulates an operation on an image and a way to visualize
* its result.
*
- * @constructor
* @param {string} name Command name.
+ * @constructor
*/
function Command(name) {
this.name_ = name;

Powered by Google App Engine
This is Rietveld 408576698