| 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 * @this {WebInspector.PropertiesSidebarPane} | 62 * @this {*} |
| 63 */ | 63 */ |
| 64 function protoList() | 64 function protoList() |
| 65 { | 65 { |
| 66 var proto = this; | 66 var proto = this; |
| 67 var result = {}; | 67 var result = {}; |
| 68 var counter = 1; | 68 var counter = 1; |
| 69 while (proto) { | 69 while (proto) { |
| 70 result[counter++] = proto; | 70 result[counter++] = proto; |
| 71 proto = proto.__proto__; | 71 proto = proto.__proto__; |
| 72 } | 72 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 title = title.replace(/Prototype$/, ""); | 109 title = title.replace(/Prototype$/, ""); |
| 110 var section = new WebInspector.ObjectPropertiesSection(prototype
, title); | 110 var section = new WebInspector.ObjectPropertiesSection(prototype
, title); |
| 111 this.sections.push(section); | 111 this.sections.push(section); |
| 112 body.appendChild(section.element); | 112 body.appendChild(section.element); |
| 113 } | 113 } |
| 114 } | 114 } |
| 115 }, | 115 }, |
| 116 | 116 |
| 117 __proto__: WebInspector.SidebarPane.prototype | 117 __proto__: WebInspector.SidebarPane.prototype |
| 118 } | 118 } |
| OLD | NEW |