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

Unified Diff: chrome/browser/resources/file_manager/js/metadata/function_sequence.js

Issue 12262003: [Cleanup] Files.app: Adds missing periods at the end of the descriptions. (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/metadata/function_sequence.js
diff --git a/chrome/browser/resources/file_manager/js/metadata/function_sequence.js b/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
index 1541d638f7363f89e77ba252e3acd5c8b7e658e2..a3a71adbadd1eff9e7a946fafbcc841ddebab7e3 100644
--- a/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
+++ b/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
@@ -6,10 +6,10 @@
* @constructor
* @class FunctionSequence to invoke steps in sequence
*
- * @param {Array} steps array of functions to invoke in sequence
- * @param {Object} logger logger
- * @param {Function} [callback] callback to invoke on success
- * @param {Function} [failureCallback] callback to invoke on failure
+ * @param {Array} steps array of functions to invoke in sequence.
+ * @param {Object} logger logger.
+ * @param {Function} [callback] callback to invoke on success.
+ * @param {Function} [failureCallback] callback to invoke on failure.
*/
function FunctionSequence(name, steps, logger, callback, failureCallback) {
// Private variables hidden in closure
@@ -30,7 +30,7 @@ function FunctionSequence(name, steps, logger, callback, failureCallback) {
/**
* Sets new callback
*
- * @param {Function} callback new callback to call on succeed
+ * @param {Function} callback new callback to call on succeed.
*/
FunctionSequence.prototype.setCallback = function(callback) {
this.callback_ = callback;
@@ -39,7 +39,7 @@ FunctionSequence.prototype.setCallback = function(callback) {
/**
* Sets new error callback
*
- * @param {Function} failureCallback new callback to call on failure
+ * @param {Function} failureCallback new callback to call on failure.
*/
FunctionSequence.prototype.setFailureCallback = function(failureCallback) {
this.failureCallback_ = failureCallback;
@@ -50,7 +50,7 @@ FunctionSequence.prototype.setFailureCallback = function(failureCallback) {
* Error handling function, which traces current error step, stops sequence
* advancing and fires error callback.
*
- * @param err error message
+ * @param err error message.
*/
FunctionSequence.prototype.onError_ = function(err) {
this.logger.vlog('Failed step: ' + this.steps_[this.currentStepIdx_].name

Powered by Google App Engine
This is Rietveld 408576698