OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 /** | 53 /** |
54 * @this {WebInspector.PropertiesSidebarPane} | 54 * @this {WebInspector.PropertiesSidebarPane} |
55 */ | 55 */ |
56 function nodeResolved(object) | 56 function nodeResolved(object) |
57 { | 57 { |
58 if (!object) | 58 if (!object) |
59 return; | 59 return; |
60 | 60 |
61 /** | 61 /** |
| 62 * @suppressReceiverCheck |
62 * @this {*} | 63 * @this {*} |
63 */ | 64 */ |
64 function protoList() | 65 function protoList() |
65 { | 66 { |
66 var proto = this; | 67 var proto = this; |
67 var result = {}; | 68 var result = {}; |
68 var counter = 1; | 69 var counter = 1; |
69 while (proto) { | 70 while (proto) { |
70 result[counter++] = proto; | 71 result[counter++] = proto; |
71 proto = proto.__proto__; | 72 proto = proto.__proto__; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 title = title.replace(/Prototype$/, ""); | 110 title = title.replace(/Prototype$/, ""); |
110 var section = new WebInspector.ObjectPropertiesSection(prototype
, title); | 111 var section = new WebInspector.ObjectPropertiesSection(prototype
, title); |
111 this.sections.push(section); | 112 this.sections.push(section); |
112 body.appendChild(section.element); | 113 body.appendChild(section.element); |
113 } | 114 } |
114 } | 115 } |
115 }, | 116 }, |
116 | 117 |
117 __proto__: WebInspector.SidebarPane.prototype | 118 __proto__: WebInspector.SidebarPane.prototype |
118 } | 119 } |
OLD | NEW |