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

Unified Diff: remoting/webapp/remoting.js

Issue 10546066: Fix jscompiler error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added explanatory comment. Created 8 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/remoting.js
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js
index 188deb6c74f386ecdd73bec75e62c7682929a852..1737436254c1bf4d3c8a21695eda40699dd52a80 100644
--- a/remoting/webapp/remoting.js
+++ b/remoting/webapp/remoting.js
@@ -305,7 +305,9 @@ function jsonParseSafe(jsonString) {
remoting.timestamp = function() {
/**
* @param {number} num A number.
- * @return {string} The number, formatted as a string of the specified length.
+ * @param {number} len The required length of the answer.
+ * @return {string} The number, formatted as a string of the specified length
+ * by prepending zeroes as necessary.
*/
var pad = function(num, len) {
var result = num.toString();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698