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

Side by Side Diff: Source/devtools/front_end/common/ModuleManager.js

Issue 301163005: DevTools: [JSDoc] Avoid partial arg list annotations in code except "profiler" module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 */ 203 */
204 function instantiate(extension) 204 function instantiate(extension)
205 { 205 {
206 return extension.instance(); 206 return extension.instance();
207 } 207 }
208 return this.extensions(type, context).filter(instantiate).map(instantiat e); 208 return this.extensions(type, context).filter(instantiate).map(instantiat e);
209 }, 209 },
210 210
211 /** 211 /**
212 * @param {string|!Function} type 212 * @param {string|!Function} type
213 * @param {?Object=} context
213 * @return {?Object} 214 * @return {?Object}
214 */ 215 */
215 instance: function(type, context) 216 instance: function(type, context)
216 { 217 {
217 var extension = this.extension(type, context); 218 var extension = this.extension(type, context);
218 return extension ? extension.instance() : null; 219 return extension ? extension.instance() : null;
219 }, 220 },
220 221
221 /** 222 /**
222 * @param {string|!Function} type 223 * @param {string|!Function} type
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 } 478 }
478 479
479 WebInspector.Revealer.prototype = { 480 WebInspector.Revealer.prototype = {
480 /** 481 /**
481 * @param {!Object} object 482 * @param {!Object} object
482 */ 483 */
483 reveal: function(object) {} 484 reveal: function(object) {}
484 } 485 }
485 486
486 WebInspector.moduleManager = new WebInspector.ModuleManager(allDescriptors); 487 WebInspector.moduleManager = new WebInspector.ModuleManager(allDescriptors);
OLDNEW
« no previous file with comments | « Source/devtools/front_end/common/DOMExtension.js ('k') | Source/devtools/front_end/common/utilities.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698