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

Unified Diff: tools/deep_memory_profiler/visualizer/static/profiler.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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: tools/deep_memory_profiler/visualizer/static/profiler.js
diff --git a/tools/deep_memory_profiler/visualizer/static/profiler.js b/tools/deep_memory_profiler/visualizer/static/profiler.js
index f76dbd20bc35bd10766ccf914824d5585079f1c3..2fec39b4b43c13e029e117f992abfeac7a548435 100644
--- a/tools/deep_memory_profiler/visualizer/static/profiler.js
+++ b/tools/deep_memory_profiler/visualizer/static/profiler.js
@@ -91,7 +91,7 @@ Profiler.prototype.setSelected = function(id, pos) {
/**
* Get all models throughout the whole timeline of given id.
* @param {string} id Model id.
- * @return {Array.<Object>} model array of given id.
+ * @return {Array<Object>} model array of given id.
*/
Profiler.prototype.getModelsbyId = function(id) {
function find(model) {
@@ -176,7 +176,7 @@ Profiler.prototype.unsetSub = function(id) {
* @param {string} template Local template.
* @param {Object} snapshot Current snapshot.
* @param {Object} worldUnits Mapping of world units.
- * @param {Array.<number>} localUnits Array of local units.
+ * @param {Array<number>} localUnits Array of local units.
* @param {string} name Local node path.
* @return {Object} Return model, total size and remaining units.
* @private
@@ -299,7 +299,7 @@ Profiler.prototype.accumulate_ = function(
/**
* Parse template and calculate models of the whole timeline.
- * @return {Array.<Object>} Models of the whole timeline.
+ * @return {Array<Object>} Models of the whole timeline.
* @private
*/
Profiler.prototype.parseTemplate_ = function() {
« no previous file with comments | « tools/deep_memory_profiler/visualizer/static/menu-view.js ('k') | tools/deep_memory_profiler/visualizer/static/utility.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698