| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 * @param {number} nestingLevel | 1252 * @param {number} nestingLevel |
| 1253 */ | 1253 */ |
| 1254 WebInspector.ConsoleCommandResult = function(message, linkifier, nestingLevel) | 1254 WebInspector.ConsoleCommandResult = function(message, linkifier, nestingLevel) |
| 1255 { | 1255 { |
| 1256 WebInspector.ConsoleViewMessage.call(this, message, linkifier, nestingLevel)
; | 1256 WebInspector.ConsoleViewMessage.call(this, message, linkifier, nestingLevel)
; |
| 1257 } | 1257 } |
| 1258 | 1258 |
| 1259 WebInspector.ConsoleCommandResult.prototype = { | 1259 WebInspector.ConsoleCommandResult.prototype = { |
| 1260 /** | 1260 /** |
| 1261 * @override | 1261 * @override |
| 1262 * @param {!WebInspector.RemoteObject} array | |
| 1263 * @return {boolean} | |
| 1264 */ | |
| 1265 useArrayPreviewInFormatter: function(array) | |
| 1266 { | |
| 1267 return false; | |
| 1268 }, | |
| 1269 | |
| 1270 /** | |
| 1271 * @override | |
| 1272 * @return {!Element} | 1262 * @return {!Element} |
| 1273 */ | 1263 */ |
| 1274 contentElement: function() | 1264 contentElement: function() |
| 1275 { | 1265 { |
| 1276 var element = WebInspector.ConsoleViewMessage.prototype.contentElement.c
all(this); | 1266 var element = WebInspector.ConsoleViewMessage.prototype.contentElement.c
all(this); |
| 1277 element.classList.add("console-user-command-result"); | 1267 element.classList.add("console-user-command-result"); |
| 1278 this.updateTimestamp(false); | 1268 this.updateTimestamp(false); |
| 1279 return element; | 1269 return element; |
| 1280 }, | 1270 }, |
| 1281 | 1271 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1375 return true; | 1365 return true; |
| 1376 } | 1366 } |
| 1377 return false; | 1367 return false; |
| 1378 } | 1368 } |
| 1379 } | 1369 } |
| 1380 | 1370 |
| 1381 /** | 1371 /** |
| 1382 * @typedef {{messageIndex: number, matchIndex: number}} | 1372 * @typedef {{messageIndex: number, matchIndex: number}} |
| 1383 */ | 1373 */ |
| 1384 WebInspector.ConsoleView.RegexMatchRange; | 1374 WebInspector.ConsoleView.RegexMatchRange; |
| OLD | NEW |