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

Side by Side Diff: Source/devtools/front_end/audits/AuditsPanel.js

Issue 417133002: DevTools: [JSDocValidator] Require enum keys to start with an uppercase letter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove bad @enum annotation for WebInspector.AuditRule.SeverityOrder Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/scripts/compiler-runner/closure-runner.jar » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 /** 261 /**
262 * @enum {string} 262 * @enum {string}
263 */ 263 */
264 WebInspector.AuditRule.Severity = { 264 WebInspector.AuditRule.Severity = {
265 Info: "info", 265 Info: "info",
266 Warning: "warning", 266 Warning: "warning",
267 Severe: "severe" 267 Severe: "severe"
268 } 268 }
269 269
270 /**
271 * @enum {number}
272 */
273 WebInspector.AuditRule.SeverityOrder = { 270 WebInspector.AuditRule.SeverityOrder = {
274 "info": 3, 271 "info": 3,
275 "warning": 2, 272 "warning": 2,
276 "severe": 1 273 "severe": 1
277 } 274 }
278 275
279 WebInspector.AuditRule.prototype = { 276 WebInspector.AuditRule.prototype = {
280 get id() 277 get id()
281 { 278 {
282 return this._id; 279 return this._id;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 */ 520 */
524 WebInspector.AuditCategories = {}; 521 WebInspector.AuditCategories = {};
525 522
526 importScript("AuditCategory.js"); 523 importScript("AuditCategory.js");
527 importScript("AuditCategories.js"); 524 importScript("AuditCategories.js");
528 importScript("AuditController.js"); 525 importScript("AuditController.js");
529 importScript("AuditFormatters.js"); 526 importScript("AuditFormatters.js");
530 importScript("AuditLauncherView.js"); 527 importScript("AuditLauncherView.js");
531 importScript("AuditResultView.js"); 528 importScript("AuditResultView.js");
532 importScript("AuditRules.js"); 529 importScript("AuditRules.js");
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/scripts/compiler-runner/closure-runner.jar » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698