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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/externs.js

Issue 1765733002: [DevTools] Remove Array.from method from utilities.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 /** 168 /**
169 * @param {!Array.<T>} array 169 * @param {!Array.<T>} array
170 * @param {function(T,T):number} comparator 170 * @param {function(T,T):number} comparator
171 * @return {!Array.<T>} 171 * @return {!Array.<T>}
172 * @this {!Array.<T>} 172 * @this {!Array.<T>}
173 * @template T 173 * @template T
174 */ 174 */
175 Array.prototype.mergeOrdered = function(array, comparator) {} 175 Array.prototype.mergeOrdered = function(array, comparator) {}
176 176
177 /**
178 * @param {string|!IArrayLike<T>|!Iterable<T>} arrayLike
179 * @param {function(this:S, (string|T), number,
180 * (string|!IArrayLike<T>|!Iterable<T>)): R=} opt_mapFn
181 * @param {S=} opt_this
182 * @return {!Array<R>}
183 * @template T,S,R
184 */
185 Array.from = function(arrayLike, opt_mapFn, opt_this) {};
186
177 // File System API 187 // File System API
178 /** 188 /**
179 * @constructor 189 * @constructor
180 */ 190 */
181 function DOMFileSystem() {} 191 function DOMFileSystem() {}
182 192
183 /** 193 /**
184 * @type {DirectoryEntry} 194 * @type {DirectoryEntry}
185 */ 195 */
186 DOMFileSystem.prototype.root = null; 196 DOMFileSystem.prototype.root = null;
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 * @extends {ESTree.Node} 702 * @extends {ESTree.Node}
693 * @constructor 703 * @constructor
694 */ 704 */
695 ESTree.TemplateLiteralNode = function() 705 ESTree.TemplateLiteralNode = function()
696 { 706 {
697 /** @type {!Array.<!ESTree.Node>} */ 707 /** @type {!Array.<!ESTree.Node>} */
698 this.quasis; 708 this.quasis;
699 /** @type {!Array.<!ESTree.Node>} */ 709 /** @type {!Array.<!ESTree.Node>} */
700 this.expressions; 710 this.expressions;
701 } 711 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698